#1 -- fix npe
This commit is contained in:
parent
c96c3978c6
commit
5678e50606
@ -73,7 +73,8 @@ public class IndexController {
|
||||
if (chartForm.getTimeSeriesMeta() != null
|
||||
&& chartForm.getTimeSeriesMeta().getKey() != null
|
||||
&& !chartForm.getTimeSeriesMeta().getKey().isEmpty()
|
||||
&& chartForm.getMethodClassName() != null) {
|
||||
&& chartForm.getMethodClassName() != null
|
||||
&& !chartForm.getMethodClassName().equals("")) {
|
||||
addChartToModel(dbService.getTimeSeries(chartForm.getSet(), chartForm.getTimeSeriesMeta().getKey()), chartForm.getMethodClassName(), model);
|
||||
}
|
||||
return "method";
|
||||
|
Loading…
Reference in New Issue
Block a user