ds = new DataSet(variable, timesArray, resArray);\r
try {\r
for (DataSet tempds : variables){\r
- if (tempds.name.equals(variable))\r
+ if (tempds.name.equals(variable)) {\r
// We should never need to go there unless some change in\r
// the logic of reading variables are made.\r
// Also helps in seeking memory leaks.\r
System.err.println("Find me and add a comment that I was printed, please.");\r
// If it seems that in no case we need to go here, comment this try catch.\r
return null;\r
+ }\r
}\r
} catch (ConcurrentModificationException e) {\r
}\r
* When random numbers are used to generate the Monte Carlo simulation parameters, the probability\r
* is itself selected randomly (between (0,1); at the domain endpoints the value is undefined).\r
* \r
- * @param randomVariable\r
+ * @param probability\r
* @return Inverse cumulative distribution function at probability, i.e. the random variable at the\r
* point where the cumulative distribution function yields probability.\r
*/\r