Skip to content

Commit 45dafb4

Browse files
AustinMRookephillipuniverse
authored andcommitted
Fixes BroadleafCommerce#1252 Avoids parsing exception revolving around empty Strings.
(cherry picked from commit b982a0d)
1 parent 106b2a5 commit 45dafb4

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

+1-1
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)