From 8d21db36015f8560d9cd2bcee9817f2c0a07a386 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 24 Mar 2015 14:11:47 +0000
Subject: [PATCH] Autorefactored javadocs
---
opendj-server-legacy/src/main/java/org/opends/server/schema/MatchingRuleUseSyntax.java | 94 +++++++---------------------------------------
1 files changed, 15 insertions(+), 79 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/schema/MatchingRuleUseSyntax.java b/opendj-server-legacy/src/main/java/org/opends/server/schema/MatchingRuleUseSyntax.java
index 16d62c1..04a74c1 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/schema/MatchingRuleUseSyntax.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/schema/MatchingRuleUseSyntax.java
@@ -22,13 +22,11 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2011-2014 ForgeRock AS
+ * Portions Copyright 2011-2015 ForgeRock AS
*/
package org.opends.server.schema;
import org.forgerock.i18n.LocalizableMessage;
-
-
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
@@ -49,8 +47,6 @@
import static org.opends.server.schema.SchemaConstants.*;
import static org.opends.server.util.StaticUtils.*;
-
-
/**
* This class implements the matching rule use description syntax, which is used
* to hold matching rule use definitions in the server schema. The format of
@@ -62,19 +58,15 @@
private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
-
-
- // The default equality matching rule for this syntax.
+ /** The default equality matching rule for this syntax. */
private MatchingRule defaultEqualityMatchingRule;
- // The default ordering matching rule for this syntax.
+ /** The default ordering matching rule for this syntax. */
private MatchingRule defaultOrderingMatchingRule;
- // The default substring matching rule for this syntax.
+ /** The default substring matching rule for this syntax. */
private MatchingRule defaultSubstringMatchingRule;
-
-
/**
* Creates a new instance of this syntax. Note that the only thing that
* should be done here is to invoke the default constructor for the
@@ -86,11 +78,7 @@
super();
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public void initializeSyntax(AttributeSyntaxCfg configuration)
throws ConfigException, InitializationException
{
@@ -122,82 +110,50 @@
}
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public String getName()
{
return SYNTAX_MATCHING_RULE_USE_NAME;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public String getOID()
{
return SYNTAX_MATCHING_RULE_USE_OID;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public String getDescription()
{
return SYNTAX_MATCHING_RULE_USE_DESCRIPTION;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public MatchingRule getEqualityMatchingRule()
{
return defaultEqualityMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public MatchingRule getOrderingMatchingRule()
{
return defaultOrderingMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public MatchingRule getSubstringMatchingRule()
{
return defaultSubstringMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public MatchingRule getApproximateMatchingRule()
{
// There is no approximate matching rule by default.
return null;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean valueIsAcceptable(ByteSequence value,
LocalizableMessageBuilder invalidReason)
{
@@ -217,8 +173,6 @@
}
}
-
-
/**
* Decodes the contents of the provided ASN.1 octet string as a matching rule
* use definition according to the rules of this syntax. Note that the
@@ -611,8 +565,6 @@
extraProperties);
}
-
-
/**
* Reads the next token name from the matching rule use definition, skipping
* over any leading or trailing spaces, and appends it to the provided buffer.
@@ -667,8 +619,6 @@
return startPos;
}
-
-
/**
* Reads the value of a string enclosed in single quotes, skipping over the
* quotes and any leading or trailing spaces, and appending the string to the
@@ -747,8 +697,6 @@
return startPos;
}
-
-
/**
* Reads the value of a string enclosed in single quotes, skipping over the
* quotes and any leading or trailing spaces, and appending the string to the
@@ -832,8 +780,6 @@
return startPos;
}
-
-
/**
* Reads the attribute type description or numeric OID from the provided
* string, skipping over any leading or trailing spaces, and appending the
@@ -978,8 +924,6 @@
return startPos;
}
-
-
/**
* Reads the value for an "extra" parameter. It will handle a single unquoted
* word (which is technically illegal, but we'll allow it), a single quoted
@@ -1134,21 +1078,13 @@
return startPos;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean isBEREncodingRequired()
{
return false;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean isHumanReadable()
{
return true;
--
Gitblit v1.10.0