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/LDIFModify.java
@@ -287,7 +287,7 @@
      // If the entry is to be modified, then process the changes.
      LinkedList<Modification> mods = modifications.remove(entryDN);
      if ((mods != null) && (! mods.isEmpty()))
      if (mods != null && !mods.isEmpty())
      {
        try
        {
@@ -635,8 +635,7 @@
    boolean successful;
    try
    {
      successful = modifyLDIF(sourceReader, changeReader, targetWriter,
                              errorList);
      successful = modifyLDIF(sourceReader, changeReader, targetWriter, errorList);
    }
    catch (Exception e)
    {
@@ -650,7 +649,6 @@
    {
      err.println(s);
    }
    return (successful ? 0 : 1);
    return successful ? 0 : 1;
  }
}