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:
Joakim Erdfelt 2014-03-26 11:34:08 -07:00
parent 6600abd3f9
commit a52925efcc
1 changed files with 0 additions and 7 deletions

View File

@ -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();