Dead store to comboTrees in
com.jeecg.demo.controller.JeecgFormDemoController.getComboTreeData(HttpServletRequest, ComboTree) Bug type DLS_DEAD_LOCAL_STORE (click for details) In class com.jeecg.demo.controller.JeecgFormDemoController In method com.jeecg.demo.controller.JeecgFormDemoController.getComboTreeData(HttpServletRequest, ComboTree) Local variable named comboTrees At JeecgFormDemoController.java:[line 117]master
parent
96c1565d78
commit
390eaa60da
|
@ -114,9 +114,9 @@ public class JeecgFormDemoController extends BaseController {
|
||||||
}
|
}
|
||||||
cq.add();
|
cq.add();
|
||||||
List<TSDepart> demoList = systemService.getListByCriteriaQuery(cq, false);
|
List<TSDepart> demoList = systemService.getListByCriteriaQuery(cq, false);
|
||||||
List<ComboTree> comboTrees = new ArrayList<ComboTree>();
|
// List<ComboTree> comboTrees = new ArrayList<ComboTree>();
|
||||||
ComboTreeModel comboTreeModel = new ComboTreeModel("id", "departname", "TSDeparts");
|
ComboTreeModel comboTreeModel = new ComboTreeModel("id", "departname", "TSDeparts");
|
||||||
comboTrees = systemService.ComboTree(demoList, comboTreeModel, null, false);
|
List<ComboTree> comboTrees = systemService.ComboTree(demoList, comboTreeModel, null, false);
|
||||||
return comboTrees;
|
return comboTrees;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue