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/CaseExactIA5SubstringMatchingRuleImpl.java | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/CaseExactIA5SubstringMatchingRuleImpl.java b/sdk/src/org/opends/sdk/schema/CaseExactIA5SubstringMatchingRuleImpl.java
index 04308b1..ae72948 100644
--- a/sdk/src/org/opends/sdk/schema/CaseExactIA5SubstringMatchingRuleImpl.java
+++ b/sdk/src/org/opends/sdk/schema/CaseExactIA5SubstringMatchingRuleImpl.java
@@ -28,8 +28,10 @@
-import static com.sun.opends.sdk.messages.Messages.*;
-import static com.sun.opends.sdk.util.StringPrepProfile.*;
+import static com.sun.opends.sdk.messages.Messages.WARN_ATTR_SYNTAX_IA5_ILLEGAL_CHARACTER;
+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;
@@ -38,18 +40,17 @@
-
/**
- * This class implements the caseExactIA5SubstringsMatch matching rule.
- * This matching rule actually isn't defined in any official
- * specification, but some directory vendors do provide an
- * implementation using an OID from their own private namespace.
+ * This class implements the caseExactIA5SubstringsMatch matching rule. This
+ * matching rule actually isn't defined in any official specification, but some
+ * directory vendors do provide an implementation using an OID from their own
+ * private namespace.
*/
final class CaseExactIA5SubstringMatchingRuleImpl extends
AbstractSubstringMatchingRuleImpl
{
- public ByteString normalizeAttributeValue(Schema schema,
- ByteSequence value) throws DecodeException
+ public ByteString normalizeAttributeValue(final Schema schema,
+ final ByteSequence value) throws DecodeException
{
return normalize(TRIM, value);
}
@@ -57,7 +58,7 @@
@Override
- ByteString normalizeSubString(Schema schema, ByteSequence value)
+ ByteString normalizeSubString(final Schema schema, final ByteSequence value)
throws DecodeException
{
return normalize(false, value);
@@ -65,7 +66,7 @@
- private ByteString normalize(boolean trim, ByteSequence value)
+ private ByteString normalize(final boolean trim, final ByteSequence value)
throws DecodeException
{
final StringBuilder buffer = new StringBuilder();
@@ -104,9 +105,8 @@
// This is not a valid character for an IA5 string. If strict
// syntax enforcement is enabled, then we'll throw an exception.
// Otherwise, we'll get rid of the character.
- final LocalizableMessage message =
- WARN_ATTR_SYNTAX_IA5_ILLEGAL_CHARACTER.get(
- value.toString(), String.valueOf(c));
+ final LocalizableMessage message = WARN_ATTR_SYNTAX_IA5_ILLEGAL_CHARACTER
+ .get(value.toString(), String.valueOf(c));
throw DecodeException.error(message);
}
}
--
Gitblit v1.10.0