From cc556edc003e4fb8df13611167fab0d9fd3890f9 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.
---
opendj-sdk/sdk/src/org/opends/sdk/schema/BooleanEqualityMatchingRuleImpl.java | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/opendj-sdk/sdk/src/org/opends/sdk/schema/BooleanEqualityMatchingRuleImpl.java b/opendj-sdk/sdk/src/org/opends/sdk/schema/BooleanEqualityMatchingRuleImpl.java
index f50ad09..a2b1e7e 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/schema/BooleanEqualityMatchingRuleImpl.java
+++ b/opendj-sdk/sdk/src/org/opends/sdk/schema/BooleanEqualityMatchingRuleImpl.java
@@ -28,7 +28,7 @@
-import static com.sun.opends.sdk.messages.Messages.*;
+import static com.sun.opends.sdk.messages.Messages.WARN_ATTR_SYNTAX_ILLEGAL_BOOLEAN;
import org.opends.sdk.ByteSequence;
import org.opends.sdk.ByteString;
@@ -37,14 +37,13 @@
/**
- * This class defines the booleanMatch matching rule defined in X.520
- * and referenced in RFC 4519.
+ * This class defines the booleanMatch matching rule defined in X.520 and
+ * referenced in RFC 4519.
*/
-final class BooleanEqualityMatchingRuleImpl extends
- AbstractMatchingRuleImpl
+final class BooleanEqualityMatchingRuleImpl extends AbstractMatchingRuleImpl
{
- public ByteString normalizeAttributeValue(Schema schema,
- ByteSequence value) throws DecodeException
+ public ByteString normalizeAttributeValue(final Schema schema,
+ final ByteSequence value) throws DecodeException
{
final String valueString = value.toString().toUpperCase();
if (valueString.equals("TRUE") || valueString.equals("YES")
@@ -58,7 +57,7 @@
return SchemaConstants.FALSE_VALUE;
}
- throw DecodeException.error(WARN_ATTR_SYNTAX_ILLEGAL_BOOLEAN
- .get(value.toString()));
+ throw DecodeException.error(WARN_ATTR_SYNTAX_ILLEGAL_BOOLEAN.get(value
+ .toString()));
}
}
--
Gitblit v1.10.0