opendj-server-legacy/src/main/java/org/opends/server/tools/JavaPropertiesTool.java
@@ -414,12 +414,12 @@ else if (key != null) { int index = line.indexOf('='); if ((index != -1) && ((index + 1) < line.length())) if (index != -1 && index + 1 < line.length()) { lineValue = line.substring(index+1); } } if ((lineValue != null) && (lineValue.length() > 0)) if (lineValue != null && lineValue.length() > 0) { if (sbValue == null) { @@ -427,7 +427,7 @@ } sbValue.append(lineValue); } if (!hasSlash && (key != null) && (sbValue != null)) if (!hasSlash && key != null && sbValue != null) { properties.put(key, sbValue.toString()); }