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

Jean-Noel Rouvignac
09.40.2015 edc595e56216e680d268376e85c7625f2f052b6a
opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/ModifyCommonMsg.java
@@ -121,7 +121,7 @@
   */
  protected byte[] encodeMods(List<Modification> mods)
  {
    if ((mods == null) || (mods.size() == 0))
    if (mods == null || mods.isEmpty())
    {
      return new byte[0];
    }