Fixed invalid OptionalProperty conversion
without this change a toString was executed on an optional property due to a missing method that parses those kind of props. with this change we've added a missing method and also we've made optional property toString return the proper pattern fixes #173
This commit is contained in:
@@ -45,6 +45,6 @@ class ExecutionProperty {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return executionCommand;
|
||||
return executionCommand
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,4 +38,10 @@ class OptionalProperty {
|
||||
String optionalPattern() {
|
||||
return "($value)?"
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return optionalPattern()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user