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

mrossign
30.30.2008 7ee84fd2ff21c5e25b9a234f974c08b49070fcaf
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerWriter.java
@@ -191,14 +191,7 @@
        // Publish the update to the remote server using a protocol version he
        // it supports
        short pduProtocolVersion = update.getVersion();
        if (protocolVersion < pduProtocolVersion)
        { // The remote server wants a lower protocol version than the PDU one,
          // send it the PDU, serializing it with the supported older version
          session.publish(update, protocolVersion);
        } else {
          session.publish(update);
        }
        session.publish(update, protocolVersion);
      }
    }
    catch (NoSuchElementException e)