Fix bug NullPointerException in isMonteCarloVisible()
FEA: ItEr63OTS06MonteCarlo
This commit is contained in:
parent
076c21ecfc
commit
c53fd56f95
1 changed files with 2 additions and 1 deletions
|
|
@ -275,7 +275,8 @@ public class MultipleTabsPlannerController implements Composer,
|
|||
}
|
||||
|
||||
private boolean isMonteCarloVisible() {
|
||||
return configurationDAO.getConfiguration().isMonteCarloMethodTabVisible();
|
||||
Boolean result = configurationDAO.getConfiguration().isMonteCarloMethodTabVisible();
|
||||
return result != null ? result.booleanValue() : false;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue