|
|
@ -62,7 +62,6 @@ public class PowerActionParser { |
|
|
|
StatTransfer statTransfer; |
|
|
|
StatTransfer statTransfer; |
|
|
|
TrackEntry trackEntry; |
|
|
|
TrackEntry trackEntry; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
// Remove all lines that contain a # and leading/trailing blank lines
|
|
|
|
// Remove all lines that contain a # and leading/trailing blank lines
|
|
|
|
|
|
|
|
|
|
|
|
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim(); |
|
|
|
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim(); |
|
|
@ -300,10 +299,6 @@ public class PowerActionParser { |
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled variable type:" + key + " for powerAction: " + powerActionEntry.action_id); |
|
|
|
Logger.error("Unhandled variable type:" + key + " for powerAction: " + powerActionEntry.action_id); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
Logger.error(powerActionEntry.action_id + " " + e); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return powerActionEntry; |
|
|
|
return powerActionEntry; |
|
|
|
} |
|
|
|
} |
|
|
|