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

Valery Kharseko
2 days ago 0885d16ac22a0ecd2267bf3c8818a3a8a5a9dadb
opendj-server-legacy/src/main/java/org/opends/server/config/ConfigurationHandler.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2014-2016 ForgeRock AS.
 * Portions Copyright 2025 3A Systems,LLC
 * Portions Copyright 2025-2026 3A Systems, LLC.
 */
package org.opends.server.config;
@@ -1405,7 +1405,8 @@
  {
    byte[] buffer = new byte[8192];
    try(FileInputStream inputStream = new FileInputStream(configFile);
        GZIPOutputStream outputStream = new GZIPOutputStream(new FileOutputStream(archiveFile)))
        FileOutputStream archiveStream = new FileOutputStream(archiveFile);
        GZIPOutputStream outputStream = new GZIPOutputStream(archiveStream))
    {
      int bytesRead = inputStream.read(buffer);
      while (bytesRead > 0)