Closedown

This commit is contained in:
x07maop
2015-06-16 15:02:22 +02:00
parent 324b5177f1
commit d716602dbf

View File

@@ -130,7 +130,7 @@ public class EnergyScan extends Panel {
model.removeAllElements();
try{
for (String line : Files.readAllLines(getConfigFile())) {
if (line!=null && !line.trim().isEmpty()){
if ((line!=null) && (!line.trim().isEmpty())){
String[] tokens = line.split("=");
if (tokens.length>0){
model.addElement(tokens[0].trim());