fix: while parsing rule identifiers the wrong length is calculated #248
@ -167,7 +167,7 @@ public class OldRulesParser {
|
|||||||
cleanedValue = cleanedValue.substring(1);
|
cleanedValue = cleanedValue.substring(1);
|
||||||
}
|
}
|
||||||
if (cleanedValue.endsWith("]")) {
|
if (cleanedValue.endsWith("]")) {
|
||||||
cleanedValue = cleanedValue.substring(0, value.length() - 1);
|
cleanedValue = cleanedValue.substring(0, cleanedValue.length() - 1);
|
||||||
}
|
}
|
||||||
if (cleanedValue.isEmpty() || cleanedValue.isBlank()) {
|
if (cleanedValue.isEmpty() || cleanedValue.isBlank()) {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user