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

Ludovic Poitou
03.27.2012 087858c447d3cded52cb376ce5c4b6144a7e835b
Fix minor issues and optimizations suggested by FindBugs and NetBeans.
1 files modified
11 ■■■■■ changed files
opends/src/server/org/opends/server/tools/LDIFModify.java 11 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDIFModify.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2012 ForgeRock AS
 */
package org.opends.server.tools;
import org.opends.messages.Message;
@@ -429,16 +430,6 @@
                                   OutputStream outStream,
                                   OutputStream errStream)
  {
    PrintStream out;
    if (outStream == null)
    {
      out = NullOutputStream.printStream();
    }
    else
    {
      out = new PrintStream(outStream);
    }
    PrintStream err;
    if (errStream == null)
    {