431279 - jetty-start / Unable to start jetty if no properties are defined.
+ Removed spurious check for no properties set (as System Properties are not part of that check, but should have been, which essentially means that there is never no properties available)
This commit is contained in:
parent
6600abd3f9
commit
a52925efcc
|
@ -96,13 +96,6 @@ public final class Props implements Iterable<Prop>
|
|||
return str;
|
||||
}
|
||||
|
||||
if (props.isEmpty())
|
||||
{
|
||||
// nothing to expand
|
||||
// this situation can occur from --add-to-startd on a new blank base directory
|
||||
return str;
|
||||
}
|
||||
|
||||
Pattern pat = Pattern.compile("(?<=[^$]|^)(\\$\\{[^}]*\\})");
|
||||
Matcher mat = pat.matcher(str);
|
||||
StringBuilder expanded = new StringBuilder();
|
||||
|
|
Loading…
Reference in New Issue