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; } }