From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.
---
sdk/src/org/opends/sdk/schema/CaseExactSubstringMatchingRuleImpl.java | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/CaseExactSubstringMatchingRuleImpl.java b/sdk/src/org/opends/sdk/schema/CaseExactSubstringMatchingRuleImpl.java
index faf9556..2089814 100644
--- a/sdk/src/org/opends/sdk/schema/CaseExactSubstringMatchingRuleImpl.java
+++ b/sdk/src/org/opends/sdk/schema/CaseExactSubstringMatchingRuleImpl.java
@@ -28,7 +28,9 @@
-import static com.sun.opends.sdk.util.StringPrepProfile.*;
+import static com.sun.opends.sdk.util.StringPrepProfile.NO_CASE_FOLD;
+import static com.sun.opends.sdk.util.StringPrepProfile.TRIM;
+import static com.sun.opends.sdk.util.StringPrepProfile.prepareUnicode;
import org.opends.sdk.ByteSequence;
import org.opends.sdk.ByteString;
@@ -37,14 +39,14 @@
/**
- * This class defines the caseExactSubstringsMatch matching rule defined
- * in X.520 and referenced in RFC 2252.
+ * This class defines the caseExactSubstringsMatch matching rule defined in
+ * X.520 and referenced in RFC 2252.
*/
final class CaseExactSubstringMatchingRuleImpl extends
AbstractSubstringMatchingRuleImpl
{
- public ByteString normalizeAttributeValue(Schema schema,
- ByteSequence value)
+ public ByteString normalizeAttributeValue(final Schema schema,
+ final ByteSequence value)
{
return normalize(TRIM, value);
}
@@ -52,7 +54,7 @@
@Override
- ByteString normalizeSubString(Schema schema, ByteSequence value)
+ ByteString normalizeSubString(final Schema schema, final ByteSequence value)
throws DecodeException
{
return normalize(false, value);
@@ -60,7 +62,7 @@
- private ByteString normalize(boolean trim, ByteSequence value)
+ private ByteString normalize(final boolean trim, final ByteSequence value)
{
final StringBuilder buffer = new StringBuilder();
prepareUnicode(buffer, value, trim, NO_CASE_FOLD);
--
Gitblit v1.10.0