From 93dc3520b26d74dadbdad265182d9beaa9145dc4 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 19 Apr 2016 13:16:38 +0000
Subject: [PATCH] opendj-config: added @Override + Autorefactor'ed comments

---
 opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Conditions.java |   27 ++++++++++-----------------
 1 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Conditions.java b/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Conditions.java
index 656bad5..6c25b2c 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Conditions.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Conditions.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2014 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
  */
 package org.forgerock.opendj.config.conditions;
 
@@ -23,50 +23,43 @@
 import org.forgerock.opendj.config.server.ServerManagedObject;
 import org.forgerock.opendj.ldap.LdapException;
 
-/**
- * This class consists exclusively of static methods that operate on or return
- * conditions.
- */
+/** This class consists exclusively of static methods that operate on or return conditions. */
 public final class Conditions {
 
-    /**
-     * A condition which always evaluates to <code>false</code>.
-     */
+    /** A condition which always evaluates to <code>false</code>. */
     public static final Condition FALSE = new Condition() {
 
-        /** {@inheritDoc} */
+        @Override
         public boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws LdapException {
             return false;
         }
 
-        /** {@inheritDoc} */
+        @Override
         public boolean evaluate(ServerManagedObject<?> managedObject) throws ConfigException {
             return false;
         }
 
-        /** {@inheritDoc} */
+        @Override
         public void initialize(AbstractManagedObjectDefinition<?, ?> d) throws Exception {
             // No implementation required.
         }
 
     };
 
-    /**
-     * A condition which always evaluates to <code>true</code>.
-     */
+    /** A condition which always evaluates to <code>true</code>. */
     public static final Condition TRUE = new Condition() {
 
-        /** {@inheritDoc} */
+        @Override
         public boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws LdapException {
             return true;
         }
 
-        /** {@inheritDoc} */
+        @Override
         public boolean evaluate(ServerManagedObject<?> managedObject) throws ConfigException {
             return true;
         }
 
-        /** {@inheritDoc} */
+        @Override
         public void initialize(AbstractManagedObjectDefinition<?, ?> d) throws Exception {
             // No implementation required.
         }

--
Gitblit v1.10.0