From 34ac48d938d5f3411505f7d0f883a585148ec716 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 08 Jan 2010 18:13:58 +0000
Subject: [PATCH] * various minor code fixes * fix unit tests * remove TODOs from Javadoc (issues are now in Issue Tracker)

---
 sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/ApproximateMatchingRuleTest.java |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/ApproximateMatchingRuleTest.java b/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/ApproximateMatchingRuleTest.java
index 62b99bc..ce6a792 100644
--- a/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/ApproximateMatchingRuleTest.java
+++ b/sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/ApproximateMatchingRuleTest.java
@@ -28,7 +28,7 @@
 
 
 
-import static org.opends.server.schema.SchemaConstants.AMR_DOUBLE_METAPHONE_NAME;
+import static org.opends.sdk.schema.SchemaConstants.AMR_DOUBLE_METAPHONE_NAME;
 import static org.testng.Assert.assertEquals;
 
 import org.opends.sdk.ConditionResult;
@@ -44,8 +44,8 @@
  */
 public class ApproximateMatchingRuleTest extends SchemaTestCase
 {
-  MatchingRule metaphone =
-      Schema.getCoreSchema().getMatchingRule(AMR_DOUBLE_METAPHONE_NAME);
+  MatchingRule metaphone = Schema.getCoreSchema().getMatchingRule(
+      AMR_DOUBLE_METAPHONE_NAME);
 
 
 
@@ -154,13 +154,12 @@
       throws Exception
   {
     // normalize the 2 provided values
-    ByteString normalizedValue1 =
-        rule.normalizeAttributeValue(ByteString.valueOf(value1));
+    ByteString normalizedValue1 = rule
+        .normalizeAttributeValue(ByteString.valueOf(value1));
 
     // check that the approximatelyMatch return the expected result.
-    ConditionResult liveResult =
-        rule.getAssertion(ByteString.valueOf(value2)).matches(
-            normalizedValue1);
+    ConditionResult liveResult = rule.getAssertion(
+        ByteString.valueOf(value2)).matches(normalizedValue1);
     assertEquals(result, liveResult);
   }
 }

--
Gitblit v1.10.0