20: Do not resolve while reading config
This commit is contained in:
@@ -26,8 +26,7 @@ public final class AlarmConfigurationParser {
|
|||||||
if(isConstantDefinition(trimmed)) {
|
if(isConstantDefinition(trimmed)) {
|
||||||
parseConstantDefinition(constants, line);
|
parseConstantDefinition(constants, line);
|
||||||
} else {
|
} else {
|
||||||
String resolvedLine = replaceConstants(line, constants);
|
alarms.add(parseLine(line));
|
||||||
alarms.add(parseLine(resolvedLine));
|
|
||||||
}
|
}
|
||||||
} catch (RuntimeException exception) {
|
} catch (RuntimeException exception) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
|
|||||||
Reference in New Issue
Block a user