From be124cd7df8df56616279461f01ef8baea150056 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 16 Jul 2015 15:36:01 +0000
Subject: [PATCH] Use Objects.equals() throughout

---
 opendj-server-legacy/src/main/java/org/opends/server/util/StaticUtils.java |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/util/StaticUtils.java b/opendj-server-legacy/src/main/java/org/opends/server/util/StaticUtils.java
index 3e34037..9878dad 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/util/StaticUtils.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/util/StaticUtils.java
@@ -1540,21 +1540,6 @@
     return true;
   }
 
-
-  /**
-   * 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)
-  {
-    return Objects.equals(o1, o2);
-  }
-
-
-
   /**
    * Retrieves the best human-readable message for the provided exception.  For
    * exceptions defined in the OpenDJ project, it will attempt to use the

--
Gitblit v1.10.0