From fd650a8fd632005824a2e64d78549992ee9ffda0 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 14 Feb 2014 13:15:52 +0000
Subject: [PATCH] OPENDJ-1308 Migrate schema support

---
 opendj3-server-dev/src/server/org/opends/server/api/EqualityMatchingRule.java |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/api/EqualityMatchingRule.java b/opendj3-server-dev/src/server/org/opends/server/api/EqualityMatchingRule.java
index 753aca5..05a364e 100644
--- a/opendj3-server-dev/src/server/org/opends/server/api/EqualityMatchingRule.java
+++ b/opendj3-server-dev/src/server/org/opends/server/api/EqualityMatchingRule.java
@@ -82,14 +82,7 @@
   public ConditionResult valuesMatch(ByteSequence attributeValue,
                                      ByteSequence assertionValue)
   {
-    if (areEqual(attributeValue, assertionValue))
-    {
-      return ConditionResult.TRUE;
-    }
-    else
-    {
-      return ConditionResult.FALSE;
-    }
+    return ConditionResult.valueOf(areEqual(attributeValue, assertionValue));
   }
 
 

--
Gitblit v1.10.0