This commit is contained in:
Redkale
2018-09-10 17:23:23 +08:00
parent 4e0c1fee97
commit 7e1ff8e315

View File

@@ -538,7 +538,7 @@ public final class ResourceFactory {
if (pos < 0) return name;
String prefix = name.substring(0, pos);
String subname = name.substring(pos + "{system.property.".length());
pos = subname.indexOf('}');
pos = subname.lastIndexOf('}');
if (pos < 0) return name;
String postfix = subname.substring(pos + 1);
String property = subname.substring(0, pos);