|
|
|
@ -57,7 +57,6 @@ public class PowersParser {
@@ -57,7 +57,6 @@ public class PowersParser {
|
|
|
|
|
|
|
|
|
|
PowerEntry powerEntry = new PowerEntry(); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
StringBuilder conditionString = new StringBuilder(); |
|
|
|
|
StringBuilder powerString = new StringBuilder(); |
|
|
|
@ -296,7 +295,7 @@ public class PowersParser {
@@ -296,7 +295,7 @@ public class PowersParser {
|
|
|
|
|
|
|
|
|
|
// Parse power conditions
|
|
|
|
|
|
|
|
|
|
if (conditionString.toString().isEmpty() == false) { |
|
|
|
|
if (!conditionString.toString().isEmpty()) { |
|
|
|
|
String[] conditions = conditionString.toString().split("\n"); |
|
|
|
|
|
|
|
|
|
for (String condition : conditions) { |
|
|
|
@ -305,10 +304,6 @@ public class PowersParser {
@@ -305,10 +304,6 @@ public class PowersParser {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.error(powerEntry.power_id + " " + e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return powerEntry; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|