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/GeneralizedTimeSyntax.java |   64 ++++----------------------------
 1 files changed, 8 insertions(+), 56 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/schema/GeneralizedTimeSyntax.java b/opendj-server-legacy/src/main/java/org/opends/server/schema/GeneralizedTimeSyntax.java
index 9fbc675..72420e0 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/schema/GeneralizedTimeSyntax.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/schema/GeneralizedTimeSyntax.java
@@ -23,12 +23,10 @@
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
  *      Portions Copyright 2009 D. J. Hagberg, Millibits Consulting, Inc.
- *      Portions Copyright 2012-2014 ForgeRock AS
+ *      Portions Copyright 2012-2015 ForgeRock AS
  */
 package org.opends.server.schema;
 
-
-
 import java.util.Calendar;
 import java.util.Date;
 import java.util.GregorianCalendar;
@@ -50,8 +48,6 @@
 import static org.opends.server.schema.SchemaConstants.*;
 import static org.opends.server.util.ServerConstants.*;
 
-
-
 /**
  * This class defines the generalized time attribute syntax, which is a way of
  * representing time in a form like "YYYYMMDDhhmmssZ".  The actual form is
@@ -64,23 +60,19 @@
 {
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
-  // UTC TimeZone is assumed to never change over JVM lifetime
+  /** UTC TimeZone is assumed to never change over JVM lifetime. */
   private static final TimeZone TIME_ZONE_UTC_OBJ =
       TimeZone.getTimeZone(TIME_ZONE_UTC);
 
-
-
-  // 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
@@ -92,11 +84,7 @@
     super();
   }
 
-
-
-  /**
-   * {@inheritDoc}
-   */
+  /** {@inheritDoc} */
   @Override
   public void initializeSyntax(AttributeSyntaxCfg configuration)
          throws ConfigException
@@ -126,8 +114,6 @@
     }
   }
 
-
-
   /**
    * Retrieves the common name for this attribute syntax.
    *
@@ -139,8 +125,6 @@
     return SYNTAX_GENERALIZED_TIME_NAME;
   }
 
-
-
   /**
    * Retrieves the OID for this attribute syntax.
    *
@@ -152,8 +136,6 @@
     return SYNTAX_GENERALIZED_TIME_OID;
   }
 
-
-
   /**
    * Retrieves a description for this attribute syntax.
    *
@@ -165,8 +147,6 @@
     return SYNTAX_GENERALIZED_TIME_DESCRIPTION;
   }
 
-
-
   /**
    * Retrieves the default equality matching rule that will be used for
    * attributes with this syntax.
@@ -181,8 +161,6 @@
     return defaultEqualityMatchingRule;
   }
 
-
-
   /**
    * Retrieves the default ordering matching rule that will be used for
    * attributes with this syntax.
@@ -197,8 +175,6 @@
     return defaultOrderingMatchingRule;
   }
 
-
-
   /**
    * Retrieves the default substring matching rule that will be used for
    * attributes with this syntax.
@@ -213,8 +189,6 @@
     return defaultSubstringMatchingRule;
   }
 
-
-
   /**
    * Retrieves the default approximate matching rule that will be used for
    * attributes with this syntax.
@@ -230,8 +204,6 @@
     return null;
   }
 
-
-
   /**
    * Indicates whether the provided value is acceptable for use in an attribute
    * with this syntax.  If it is not, then the reason may be appended to the
@@ -260,8 +232,6 @@
     }
   }
 
-
-
   /**
    * Retrieves the generalized time representation of the provided date.
    *
@@ -274,8 +244,6 @@
     return d == null ? null : format(d.getTime());
   }
 
-
-
   /**
    * Retrieves the generalized time representation of the provided date.
    *
@@ -375,8 +343,6 @@
     return sb.toString();
   }
 
-
-
   /**
    * Retrieves an attribute value containing a generalized time representation
    * of the provided date.
@@ -390,8 +356,6 @@
     return ByteString.valueOf(format(time));
   }
 
-
-
   /**
    * Decodes the provided normalized value as a generalized time value and
    * retrieves a timestamp containing its representation.
@@ -1319,8 +1283,6 @@
     }
   }
 
-
-
   /**
    * Completes decoding the generalized time value containing a fractional
    * component.  It will also decode the trailing 'Z' or offset.
@@ -1446,8 +1408,6 @@
     }
   }
 
-
-
   /**
    * Decodes a time zone offset from the provided value.
    *
@@ -1595,22 +1555,14 @@
     return TimeZone.getTimeZone("GMT" + offSetStr);
   }
 
-
-
-  /**
-   * {@inheritDoc}
-   */
+  /** {@inheritDoc} */
   @Override
   public boolean isBEREncodingRequired()
   {
     return false;
   }
 
-
-
-  /**
-   * {@inheritDoc}
-   */
+  /** {@inheritDoc} */
   public boolean isHumanReadable()
   {
     return true;

--
Gitblit v1.10.0