Closedown
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user