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

Jean-Noel Rouvignac
22.38.2014 0440760ba5af5211e7da2a120d708f11079973c4
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDIFDiff.java
@@ -130,7 +130,7 @@
        try {
            // First source file.
            final List<String> trailingArguments = argParser.getTrailingArguments();
            if (!trailingArguments.get(0).equals("-")) {
            if (!"-".equals(trailingArguments.get(0))) {
                try {
                    sourceInputStream = new FileInputStream(trailingArguments.get(0));
                } catch (final FileNotFoundException e) {
@@ -143,7 +143,7 @@
            }
            // Patch file.
            if (!trailingArguments.get(1).equals("-")) {
            if (!"-".equals(trailingArguments.get(1))) {
                try {
                    targetInputStream = new FileInputStream(trailingArguments.get(1));
                } catch (final FileNotFoundException e) {
@@ -156,7 +156,7 @@
            }
            // Output file.
            if (outputFilename.isPresent() && !outputFilename.getValue().equals("-")) {
            if (outputFilename.isPresent() && !"-".equals(outputFilename.getValue())) {
                try {
                    outputStream = new FileOutputStream(outputFilename.getValue());
                } catch (final FileNotFoundException e) {