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/ObjectClassSyntax.java | 92 +++++++---------------------------------------
1 files changed, 14 insertions(+), 78 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/schema/ObjectClassSyntax.java b/opendj-server-legacy/src/main/java/org/opends/server/schema/ObjectClassSyntax.java
index b00e214..6f0a122 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/schema/ObjectClassSyntax.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/schema/ObjectClassSyntax.java
@@ -63,19 +63,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
@@ -87,11 +83,7 @@
super();
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void initializeSyntax(AttributeSyntaxCfg configuration)
throws ConfigException, InitializationException
@@ -124,77 +116,49 @@
}
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getName()
{
return SYNTAX_OBJECTCLASS_NAME;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getOID()
{
return SYNTAX_OBJECTCLASS_OID;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String getDescription()
{
return SYNTAX_OBJECTCLASS_DESCRIPTION;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public MatchingRule getEqualityMatchingRule()
{
return defaultEqualityMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public MatchingRule getOrderingMatchingRule()
{
return defaultOrderingMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public MatchingRule getSubstringMatchingRule()
{
return defaultSubstringMatchingRule;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public MatchingRule getApproximateMatchingRule()
{
@@ -202,11 +166,7 @@
return null;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean valueIsAcceptable(ByteSequence value,
LocalizableMessageBuilder invalidReason)
@@ -227,8 +187,6 @@
}
}
-
-
/**
* Decodes the contents of the provided ASN.1 octet string as an objectclass
* definition according to the rules of this syntax. Note that the provided
@@ -935,8 +893,6 @@
extraProperties);
}
-
-
/**
* Reads the next token name from the objectclass definition, skipping over
* any leading or trailing spaces, and appends it to the provided buffer.
@@ -991,8 +947,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
@@ -1073,8 +1027,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
@@ -1161,8 +1113,6 @@
return startPos;
}
-
-
/**
* Reads the attribute type/objectclass description or numeric OID from the
* provided string, skipping over any leading or trailing spaces, and
@@ -1317,8 +1267,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
@@ -1423,8 +1371,6 @@
valueList.add(valueBuffer.toString());
}
-
-
// Skip over any trailing spaces.
while ((startPos < length) && (valueStr.charAt(startPos) == ' '))
{
@@ -1443,8 +1389,6 @@
return startPos;
}
-
-
/**
* Indicates whether the provided objectclass or any of its superiors is equal
* to the "top" objectclass.
@@ -1477,21 +1421,13 @@
return false;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean isBEREncodingRequired()
{
return false;
}
-
-
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public boolean isHumanReadable()
{
--
Gitblit v1.10.0