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

davidely
17.28.2007 d6ed8c17f84388757eb5bf3d0a60d9d93746f527
opendj-sdk/opends/src/server/org/opends/server/util/StaticUtils.java
@@ -1376,6 +1376,24 @@
  }
  /**
   * Return true if and only if o1 and o2 are both null or o1.equals(o2).
   *
   * @param o1 the first object to compare
   * @param o2 the second object to compare
   * @return true iff o1 and o2 are equal
   */
  public static boolean objectsAreEqual(Object o1, Object o2)
  {
    if (o1 == null)
    {
      return (o2 == null);
    }
    else
    {
      return o1.equals(o2);
    }
  }
  /**
   * Retrieves a stack trace from the provided exception as a single-line
@@ -3115,7 +3133,6 @@
  }
  /**
   * Attempts to delete the specified file or directory.  If it is a directory,
   * then any files or subdirectories that it contains will be recursively