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

Jean-Noël Rouvignac
31.51.2016 0b1d47206c74ddfdcbf60b81b30ef24f59aa56d0
opendj-server-legacy/src/main/java/org/opends/server/loggers/GZIPAction.java
@@ -30,10 +30,8 @@
 */
class GZIPAction implements PostRotationAction
{
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  private File originalFile;
  private File newFile;
  private boolean deleteOriginal;
@@ -74,7 +72,7 @@
      try (FileInputStream fis = new FileInputStream(originalFile);
          FileOutputStream fos = new FileOutputStream(newFile);
          GZIPOutputStream gzip = new GZIPOutputStream(fos);)
          GZIPOutputStream gzip = new GZIPOutputStream(fos))
      {
        byte[] buf = new byte[8192];
        int n;