Skip to content

Commit b982a0d

Browse files
committed
Fixes BroadleafCommerce#1252 Avoids parsing exception revolving around empty Strings.
1 parent 7520f7f commit b982a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/broadleafcommerce/common/config/service/SystemPropertiesServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class SystemPropertiesServiceImpl implements SystemPropertiesService{
6464
@Override
6565
public String resolveSystemProperty(String name, String defaultValue) {
6666
String result = resolveSystemProperty(name);
67-
if (result == null) {
67+
if (StringUtils.isBlank(result)) {
6868
return defaultValue;
6969
}
7070
return result;

0 commit comments

Comments
 (0)