mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
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());
        }