directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1771880 [6/8] - in /directory/shared/trunk: integ/src/test/java/org/apache/directory/api/ldap/entry/ ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/ ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ l...
Date Tue, 29 Nov 2016 10:48:28 GMT
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AbstractSchemaLoader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AbstractSchemaLoader.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AbstractSchemaLoader.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AbstractSchemaLoader.java Tue Nov 29 10:48:26 2016
@@ -60,9 +60,10 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public final Collection<Schema> getAllEnabled()
     {
-        Collection<Schema> enabledSchemas = new ArrayList<Schema>();
+        Collection<Schema> enabledSchemas = new ArrayList<>();
 
         for ( Schema schema : schemaMap.values() )
         {
@@ -79,6 +80,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public final Collection<Schema> getAllSchemas()
     {
         return schemaMap.values();
@@ -88,6 +90,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public Schema getSchema( String schemaName )
     {
         return schemaMap.get( Strings.toLowerCaseAscii( schemaName ) );
@@ -97,6 +100,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public void addSchema( Schema schema )
     {
         schemaMap.put( schema.getSchemaName(), schema );
@@ -106,6 +110,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public void removeSchema( Schema schema )
     {
         schemaMap.remove( Strings.toLowerCaseAscii( schema.getSchemaName() ) );
@@ -170,12 +175,12 @@ public abstract class AbstractSchemaLoad
         {
             String value = entry.get( MetaSchemaConstants.M_DISABLED_AT ).getString();
             value = Strings.upperCase( value );
-            isDisabled = value.equals( "TRUE" );
+            isDisabled = "TRUE".equals( value );
         }
 
         if ( entry.get( MetaSchemaConstants.M_DEPENDENCIES_AT ) != null )
         {
-            Set<String> depsSet = new HashSet<String>();
+            Set<String> depsSet = new HashSet<>();
             Attribute depsAttr = entry.get( MetaSchemaConstants.M_DEPENDENCIES_AT );
 
             for ( Value<?> value : depsAttr )
@@ -207,11 +212,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadAttributeTypes( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadAttributeTypes( buildSchemaArray( schemaNames ) );
@@ -221,11 +227,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadComparators( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadComparators( buildSchemaArray( schemaNames ) );
@@ -235,11 +242,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadDitContentRules( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadDitContentRules( buildSchemaArray( schemaNames ) );
@@ -249,11 +257,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadDitStructureRules( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadDitStructureRules( buildSchemaArray( schemaNames ) );
@@ -263,11 +272,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadMatchingRules( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadMatchingRules( buildSchemaArray( schemaNames ) );
@@ -277,11 +287,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadMatchingRuleUses( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadMatchingRuleUses( buildSchemaArray( schemaNames ) );
@@ -291,11 +302,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadNameForms( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadNameForms( buildSchemaArray( schemaNames ) );
@@ -305,11 +317,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadNormalizers( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadNormalizers( buildSchemaArray( schemaNames ) );
@@ -319,11 +332,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadObjectClasses( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadObjectClasses( buildSchemaArray( schemaNames ) );
@@ -333,11 +347,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadSyntaxes( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadSyntaxes( buildSchemaArray( schemaNames ) );
@@ -347,11 +362,12 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Entry> loadSyntaxCheckers( String... schemaNames ) throws LdapException, IOException
     {
         if ( schemaNames == null )
         {
-            return new ArrayList<Entry>();
+            return new ArrayList<>();
         }
 
         return loadSyntaxCheckers( buildSchemaArray( schemaNames ) );
@@ -361,6 +377,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isRelaxed()
     {
         return relaxed == SchemaManager.RELAXED;
@@ -370,6 +387,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isStrict()
     {
         return relaxed == SchemaManager.STRICT;
@@ -379,6 +397,7 @@ public abstract class AbstractSchemaLoad
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setRelaxed( boolean relaxed )
     {
         this.relaxed = relaxed;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AttributeTypeRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AttributeTypeRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AttributeTypeRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AttributeTypeRegistry.java Tue Nov 29 10:48:26 2016
@@ -139,5 +139,6 @@ public interface AttributeTypeRegistry e
      * 
      * @return The copied AttributeTypeRegistry
      */
+    @Override
     AttributeTypeRegistry copy();
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ComparatorRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ComparatorRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ComparatorRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ComparatorRegistry.java Tue Nov 29 10:48:26 2016
@@ -39,6 +39,7 @@ public interface ComparatorRegistry exte
      * @throws LdapException if the LdapComparator is already registered or
      * the registration operation is not supported
      */
+    @Override
     void register( LdapComparator<?> comparator ) throws LdapException;
 
 
@@ -49,6 +50,7 @@ public interface ComparatorRegistry exte
      * @param numericOid the numeric identifier
      * @throws LdapException if the numeric identifier is invalid
      */
+    @Override
     LdapComparator<?> unregister( String numericOid ) throws LdapException;
 
 
@@ -58,11 +60,13 @@ public interface ComparatorRegistry exte
      * 
      * @param schemaName the name of the schema whose LdapComparators will be removed from
      */
+    @Override
     void unregisterSchemaElements( String schemaName ) throws LdapException;
 
 
     /**
      * Copy the ComparatorRegistry
      */
+    @Override
     ComparatorRegistry copy();
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultAttributeTypeRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultAttributeTypeRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultAttributeTypeRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultAttributeTypeRegistry.java Tue Nov 29 10:48:26 2016
@@ -63,14 +63,15 @@ public class DefaultAttributeTypeRegistr
     public DefaultAttributeTypeRegistry()
     {
         super( SchemaObjectType.ATTRIBUTE_TYPE, new OidRegistry<AttributeType>() );
-        oidNormalizerMap = new HashMap<String, OidNormalizer>();
-        oidToDescendantSet = new HashMap<String, Set<AttributeType>>();
+        oidNormalizerMap = new HashMap<>();
+        oidToDescendantSet = new HashMap<>();
     }
 
 
     /**
      * {@inheritDoc}
      */
+    @Override
     public Map<String, OidNormalizer> getNormalizerMapping()
     {
         return Collections.unmodifiableMap( oidNormalizerMap );
@@ -80,6 +81,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasDescendants( String ancestorId ) throws LdapException
     {
         try
@@ -98,6 +100,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasDescendants( AttributeType ancestor ) throws LdapException
     {
         String oid = ancestor.getOid();
@@ -110,6 +113,7 @@ public class DefaultAttributeTypeRegistr
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
+    @Override
     public Iterator<AttributeType> descendants( String ancestorId ) throws LdapException
     {
         try
@@ -135,6 +139,7 @@ public class DefaultAttributeTypeRegistr
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
+    @Override
     public Iterator<AttributeType> descendants( AttributeType ancestor ) throws LdapException
     {
         String oid = ancestor.getOid();
@@ -152,6 +157,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public void registerDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
     {
         // add this attribute to descendant list of other attributes in superior chain
@@ -166,7 +172,7 @@ public class DefaultAttributeTypeRegistr
         // Initialize the descendant Set to store the descendants for the attributeType
         if ( descendants == null )
         {
-            descendants = new HashSet<AttributeType>( 1 );
+            descendants = new HashSet<>( 1 );
             oidToDescendantSet.put( ancestor.getOid(), descendants );
         }
 
@@ -178,6 +184,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
     {
         // add this attribute to descendant list of other attributes in superior chain
@@ -193,7 +200,7 @@ public class DefaultAttributeTypeRegistr
         {
             descendants.remove( attributeType );
 
-            if ( descendants.size() == 0 )
+            if ( descendants.isEmpty() )
             {
                 oidToDescendantSet.remove( ancestor.getOid() );
             }
@@ -204,6 +211,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType unregister( String numericOid ) throws LdapException
     {
         try
@@ -232,6 +240,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public void addMappingFor( AttributeType attributeType ) throws LdapException
     {
         MatchingRule equality = attributeType.getEquality();
@@ -262,6 +271,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * Remove the AttributeType normalizer from the OidNormalizer map 
      */
+    @Override
     public void removeMappingFor( AttributeType attributeType ) throws LdapException
     {
         if ( attributeType == null )
@@ -282,6 +292,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType lookup( String oid ) throws LdapException
     {
         try
@@ -298,6 +309,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultAttributeTypeRegistry copy()
     {
         DefaultAttributeTypeRegistry copy = new DefaultAttributeTypeRegistry();
@@ -312,6 +324,7 @@ public class DefaultAttributeTypeRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear()
     {
         // First clear the shared elements

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultComparatorRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultComparatorRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultComparatorRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultComparatorRegistry.java Tue Nov 29 10:48:26 2016
@@ -57,6 +57,7 @@ public class DefaultComparatorRegistry e
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         if ( schemaName == null )
@@ -85,6 +86,7 @@ public class DefaultComparatorRegistry e
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultComparatorRegistry copy()
     {
         DefaultComparatorRegistry copy = new DefaultComparatorRegistry();
@@ -99,6 +101,7 @@ public class DefaultComparatorRegistry e
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         StringBuilder sb = new StringBuilder();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitContentRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitContentRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitContentRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitContentRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -44,6 +44,7 @@ public class DefaultDitContentRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultDitContentRuleRegistry copy()
     {
         DefaultDitContentRuleRegistry copy = new DefaultDitContentRuleRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitStructureRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitStructureRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitStructureRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitStructureRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -57,13 +57,14 @@ public class DefaultDitStructureRuleRegi
     public DefaultDitStructureRuleRegistry()
     {
         super( SchemaObjectType.DIT_STRUCTURE_RULE, new OidRegistry<DitStructureRule>() );
-        byRuleId = new HashMap<Integer, DitStructureRule>();
+        byRuleId = new HashMap<>();
     }
 
 
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( int ruleId )
     {
         return byRuleId.containsKey( ruleId );
@@ -73,6 +74,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<DitStructureRule> iterator()
     {
         return byRuleId.values().iterator();
@@ -82,6 +84,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<Integer> ruleIdIterator()
     {
         return byRuleId.keySet().iterator();
@@ -91,6 +94,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( int ruleId ) throws LdapException
     {
         DitStructureRule ditStructureRule = byRuleId.get( ruleId );
@@ -109,6 +113,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( DitStructureRule ditStructureRule ) throws LdapException
     {
         int ruleId = ditStructureRule.getRuleId();
@@ -132,6 +137,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule lookup( int ruleId ) throws LdapException
     {
         DitStructureRule ditStructureRule = byRuleId.get( ruleId );
@@ -155,6 +161,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregister( int ruleId ) throws LdapException
     {
         DitStructureRule ditStructureRule = byRuleId.remove( ruleId );
@@ -169,6 +176,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName )
     {
         if ( schemaName == null )
@@ -197,6 +205,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName )
     {
         // Loop on all the SchemaObjects stored and remove those associated
@@ -219,6 +228,7 @@ public class DefaultDitStructureRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultDitStructureRuleRegistry copy()
     {
         DefaultDitStructureRuleRegistry copy = new DefaultDitStructureRuleRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultLdapSyntaxRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultLdapSyntaxRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultLdapSyntaxRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultLdapSyntaxRegistry.java Tue Nov 29 10:48:26 2016
@@ -44,6 +44,7 @@ public class DefaultLdapSyntaxRegistry e
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultLdapSyntaxRegistry copy()
     {
         DefaultLdapSyntaxRegistry copy = new DefaultLdapSyntaxRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -44,6 +44,7 @@ public class DefaultMatchingRuleRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultMatchingRuleRegistry copy()
     {
         DefaultMatchingRuleRegistry copy = new DefaultMatchingRuleRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleUseRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleUseRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleUseRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleUseRegistry.java Tue Nov 29 10:48:26 2016
@@ -47,6 +47,7 @@ public class DefaultMatchingRuleUseRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultMatchingRuleUseRegistry copy()
     {
         DefaultMatchingRuleUseRegistry copy = new DefaultMatchingRuleUseRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNameFormRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNameFormRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNameFormRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNameFormRegistry.java Tue Nov 29 10:48:26 2016
@@ -44,6 +44,7 @@ public class DefaultNameFormRegistry ext
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultNameFormRegistry copy()
     {
         DefaultNameFormRegistry copy = new DefaultNameFormRegistry();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNormalizerRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNormalizerRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNormalizerRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNormalizerRegistry.java Tue Nov 29 10:48:26 2016
@@ -57,6 +57,7 @@ public class DefaultNormalizerRegistry e
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         if ( schemaName == null )
@@ -85,6 +86,7 @@ public class DefaultNormalizerRegistry e
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultNormalizerRegistry copy()
     {
         DefaultNormalizerRegistry copy = new DefaultNormalizerRegistry();
@@ -99,6 +101,7 @@ public class DefaultNormalizerRegistry e
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         StringBuilder sb = new StringBuilder();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultObjectClassRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultObjectClassRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultObjectClassRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultObjectClassRegistry.java Tue Nov 29 10:48:26 2016
@@ -53,13 +53,14 @@ public class DefaultObjectClassRegistry
     public DefaultObjectClassRegistry()
     {
         super( SchemaObjectType.OBJECT_CLASS, new OidRegistry<ObjectClass>() );
-        oidToDescendants = new HashMap<String, Set<ObjectClass>>();
+        oidToDescendants = new HashMap<>();
     }
 
 
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasDescendants( String ancestorId ) throws LdapException
     {
         try
@@ -79,6 +80,7 @@ public class DefaultObjectClassRegistry
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
+    @Override
     public Iterator<ObjectClass> descendants( String ancestorId ) throws LdapException
     {
         try
@@ -103,11 +105,12 @@ public class DefaultObjectClassRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void registerDescendants( ObjectClass objectClass, List<ObjectClass> ancestors )
         throws LdapException
     {
         // add this attribute to descendant list of other attributes in superior chain
-        if ( ( ancestors == null ) || ( ancestors.size() == 0 ) )
+        if ( ( ancestors == null ) || ancestors.isEmpty() )
         {
             return;
         }
@@ -120,7 +123,7 @@ public class DefaultObjectClassRegistry
             // Initialize the descendant Set to store the descendants for the attributeType
             if ( descendants == null )
             {
-                descendants = new HashSet<ObjectClass>( 1 );
+                descendants = new HashSet<>( 1 );
                 oidToDescendants.put( ancestor.getOid(), descendants );
             }
 
@@ -143,11 +146,12 @@ public class DefaultObjectClassRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterDescendants( ObjectClass attributeType, List<ObjectClass> ancestors )
         throws LdapException
     {
         // add this attribute to descendant list of other attributes in superior chain
-        if ( ( ancestors == null ) || ( ancestors.size() == 0 ) )
+        if ( ( ancestors == null ) || ancestors.isEmpty() )
         {
             return;
         }
@@ -161,7 +165,7 @@ public class DefaultObjectClassRegistry
             {
                 descendants.remove( attributeType );
 
-                if ( descendants.size() == 0 )
+                if ( descendants.isEmpty() )
                 {
                     oidToDescendants.remove( ancestor.getOid() );
                 }
@@ -183,6 +187,7 @@ public class DefaultObjectClassRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public ObjectClass unregister( String numericOid ) throws LdapException
     {
         try
@@ -209,6 +214,7 @@ public class DefaultObjectClassRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultObjectClassRegistry copy()
     {
         DefaultObjectClassRegistry copy = new DefaultObjectClassRegistry();
@@ -223,6 +229,7 @@ public class DefaultObjectClassRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear()
     {
         // Clear the contained SchemaObjects

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchema.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchema.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchema.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchema.java Tue Nov 29 10:48:26 2016
@@ -136,7 +136,7 @@ public class DefaultSchema implements Sc
 
         this.disabled = disabled;
 
-        content = new HashSet<SchemaObjectWrapper>();
+        content = new HashSet<>();
         
         this.schemaLoader = schemaLoader;
     }
@@ -145,6 +145,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public String[] getDependencies()
     {
         String[] copy = new String[dependencies.length];
@@ -156,6 +157,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public void addDependencies( String... dependenciesToAdd )
     {
         if ( dependenciesToAdd != null )
@@ -182,6 +184,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOwner()
     {
         return owner;
@@ -191,6 +194,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName()
     {
         return name;
@@ -200,6 +204,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isDisabled()
     {
         return disabled;
@@ -209,6 +214,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isEnabled()
     {
         return !disabled;
@@ -218,6 +224,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public void disable()
     {
         this.disabled = true;
@@ -227,6 +234,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public void enable()
     {
         this.disabled = false;
@@ -236,6 +244,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public Set<SchemaObjectWrapper> getContent()
     {
         return content;
@@ -245,6 +254,7 @@ public class DefaultSchema implements Sc
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaLoader getSchemaLoader()
     {
         return schemaLoader;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchemaObjectRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchemaObjectRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchemaObjectRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchemaObjectRegistry.java Tue Nov 29 10:48:26 2016
@@ -72,7 +72,7 @@ public abstract class DefaultSchemaObjec
      */
     protected DefaultSchemaObjectRegistry( SchemaObjectType schemaObjectType, OidRegistry<T> oidRegistry )
     {
-        byName = new HashMap<String, T>();
+        byName = new HashMap<>();
         this.schemaObjectType = schemaObjectType;
         this.oidRegistry = oidRegistry;
         this.isRelaxed = Registries.STRICT;
@@ -126,6 +126,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         if ( !byName.containsKey( oid ) )
@@ -140,6 +141,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         if ( !Oid.isOid( oid ) )
@@ -165,6 +167,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName )
     {
         // Loop on all the SchemaObjects stored and remove those associated
@@ -187,6 +190,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<T> iterator()
     {
         return oidRegistry.iterator();
@@ -196,6 +200,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return byName.keySet().iterator();
@@ -205,6 +210,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public T lookup( String oid ) throws LdapException
     {
         if ( oid == null )
@@ -239,6 +245,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( T schemaObject ) throws LdapException
     {
         String oid = schemaObject.getOid();
@@ -291,6 +298,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public T unregister( String numericOid ) throws LdapException
     {
         if ( !Oid.isOid( numericOid ) )
@@ -322,6 +330,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public T unregister( T schemaObject ) throws LdapException
     {
         String oid = schemaObject.getOid();
@@ -355,6 +364,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         if ( schemaName == null )
@@ -383,6 +393,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         T schemaObject = byName.get( name );
@@ -466,6 +477,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public T get( String oid )
     {
         try
@@ -482,6 +494,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return schemaObjectType;
@@ -491,6 +504,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return oidRegistry.size();
@@ -500,6 +514,7 @@ public abstract class DefaultSchemaObjec
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         StringBuilder sb = new StringBuilder();
@@ -531,6 +546,7 @@ public abstract class DefaultSchemaObjec
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear()
     {
         // Clear all the schemaObjects

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSyntaxCheckerRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSyntaxCheckerRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSyntaxCheckerRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSyntaxCheckerRegistry.java Tue Nov 29 10:48:26 2016
@@ -57,6 +57,7 @@ public class DefaultSyntaxCheckerRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         if ( schemaName == null )
@@ -85,6 +86,7 @@ public class DefaultSyntaxCheckerRegistr
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultSyntaxCheckerRegistry copy()
     {
         DefaultSyntaxCheckerRegistry copy = new DefaultSyntaxCheckerRegistry();
@@ -99,6 +101,7 @@ public class DefaultSyntaxCheckerRegistr
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         StringBuilder sb = new StringBuilder();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitContentRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitContentRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitContentRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitContentRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -34,5 +34,6 @@ public interface DitContentRuleRegistry
     /**
      * Copy the DitContentRuleRegistry
      */
+    @Override
     DitContentRuleRegistry copy();
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitStructureRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitStructureRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitStructureRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitStructureRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -50,6 +50,7 @@ public interface DitStructureRuleRegistr
      *
      * @return an Iterator of descriptions
      */
+    @Override
     Iterator<DitStructureRule> iterator();
 
 
@@ -78,6 +79,7 @@ public interface DitStructureRuleRegistr
      * @throws LdapException if the DitStructureRule is already registered or
      * the registration operation is not supported
      */
+    @Override
     void register( DitStructureRule ditStructureRule ) throws LdapException;
 
 
@@ -108,6 +110,7 @@ public interface DitStructureRuleRegistr
      * @param schemaName the name of the schema whose syntaxCheckers will be removed from
      * @throws LdapException if no such SchemaElement exists
      */
+    @Override
     void unregisterSchemaElements( String schemaName ) throws LdapException;
 
 
@@ -118,11 +121,13 @@ public interface DitStructureRuleRegistr
      * @param newSchemaName The new Schema name
      * @throws org.apache.directory.api.ldap.model.exception.LdapException if the schema can't be renamed
      */
+    @Override
     void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException;
 
 
     /**
      * Copy the DitStructureRuleRegistry
      */
+    @Override
     DitStructureRuleRegistry copy();
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableAttributeTypeRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableAttributeTypeRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableAttributeTypeRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableAttributeTypeRegistry.java Tue Nov 29 10:48:26 2016
@@ -58,6 +58,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public Map<String, OidNormalizer> getNormalizerMapping()
     {
         return immutableAttributeTypeRegistry.getNormalizerMapping();
@@ -67,6 +68,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasDescendants( String ancestorId ) throws LdapException
     {
         return immutableAttributeTypeRegistry.hasDescendants( ancestorId );
@@ -76,6 +78,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasDescendants( AttributeType ancestor ) throws LdapException
     {
         return immutableAttributeTypeRegistry.hasDescendants( ancestor );
@@ -85,6 +88,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<AttributeType> descendants( String ancestorId ) throws LdapException
     {
         return immutableAttributeTypeRegistry.descendants( ancestorId );
@@ -94,6 +98,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<AttributeType> descendants( AttributeType ancestor ) throws LdapException
     {
         return immutableAttributeTypeRegistry.descendants( ancestor );
@@ -103,6 +108,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( AttributeType attributeType ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -112,6 +118,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void registerDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -121,6 +128,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -130,6 +138,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION,
@@ -140,6 +149,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void addMappingFor( AttributeType attributeType ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -149,6 +159,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void removeMappingFor( AttributeType attributeType ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -158,6 +169,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType lookup( String oid ) throws LdapException
     {
         return immutableAttributeTypeRegistry.lookup( oid );
@@ -167,6 +179,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString()
     {
         return immutableAttributeTypeRegistry.toString();
@@ -176,15 +189,17 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeTypeRegistry copy()
     {
-        return ( AttributeTypeRegistry ) immutableAttributeTypeRegistry.copy();
+        return immutableAttributeTypeRegistry.copy();
     }
 
 
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableAttributeTypeRegistry.size();
@@ -194,6 +209,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<AttributeType> iterator()
     {
         return immutableAttributeTypeRegistry.iterator();
@@ -203,6 +219,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableAttributeTypeRegistry.oidsIterator();
@@ -212,6 +229,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableAttributeTypeRegistry.contains( oid );
@@ -221,6 +239,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         try
@@ -237,6 +256,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableAttributeTypeRegistry.getSchemaName( oid );
@@ -246,6 +266,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableAttributeTypeRegistry.getType();
@@ -255,6 +276,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName )
     {
         // Do nothing
@@ -264,6 +286,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -273,6 +296,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType get( String oid )
     {
         return immutableAttributeTypeRegistry.get( oid );
@@ -282,6 +306,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );
@@ -291,6 +316,7 @@ public class ImmutableAttributeTypeRegis
     /**
      * {@inheritDoc}
      */
+    @Override
     public AttributeType unregister( AttributeType schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableComparatorRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableComparatorRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableComparatorRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableComparatorRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( LdapComparator<?> comparator ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );
@@ -64,6 +65,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapComparator<?> unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );
@@ -73,6 +75,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );
@@ -82,6 +85,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableComparatorRegistry copy()
     {
         return ( ImmutableComparatorRegistry ) immutableComparatorRegistry.copy();
@@ -91,6 +95,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableComparatorRegistry.size();
@@ -100,6 +105,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableComparatorRegistry.contains( oid );
@@ -109,6 +115,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableComparatorRegistry.getOidByName( name );
@@ -118,6 +125,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableComparatorRegistry.getSchemaName( oid );
@@ -127,6 +135,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableComparatorRegistry.getType();
@@ -136,6 +145,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<LdapComparator<?>> iterator()
     {
         return immutableComparatorRegistry.iterator();
@@ -145,6 +155,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapComparator<?> lookup( String oid ) throws LdapException
     {
         return immutableComparatorRegistry.lookup( oid );
@@ -154,6 +165,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableComparatorRegistry.oidsIterator();
@@ -163,6 +175,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );
@@ -172,6 +185,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapComparator<?> get( String oid )
     {
         return immutableComparatorRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );
@@ -190,6 +205,7 @@ public class ImmutableComparatorRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapComparator<?> unregister( LdapComparator<?> schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitContentRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitContentRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitContentRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitContentRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableDitContentRuleRegistry copy()
     {
         return ( ImmutableDitContentRuleRegistry ) immutableDITContentRuleRegistry.copy();
@@ -64,6 +65,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableDITContentRuleRegistry.size();
@@ -73,6 +75,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableDITContentRuleRegistry.contains( oid );
@@ -82,6 +85,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableDITContentRuleRegistry.getOidByName( name );
@@ -91,6 +95,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableDITContentRuleRegistry.getSchemaName( oid );
@@ -100,6 +105,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableDITContentRuleRegistry.getType();
@@ -109,6 +115,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<DitContentRule> iterator()
     {
         return immutableDITContentRuleRegistry.iterator();
@@ -118,6 +125,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitContentRule lookup( String oid ) throws LdapException
     {
         return immutableDITContentRuleRegistry.lookup( oid );
@@ -127,6 +135,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableDITContentRuleRegistry.oidsIterator();
@@ -136,6 +145,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( DitContentRule schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );
@@ -145,6 +155,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );
@@ -154,6 +165,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitContentRule unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );
@@ -163,6 +175,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );
@@ -172,6 +185,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitContentRule get( String oid )
     {
         return immutableDITContentRuleRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );
@@ -190,6 +205,7 @@ public class ImmutableDitContentRuleRegi
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitContentRule unregister( DitContentRule schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitStructureRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitStructureRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitStructureRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitStructureRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( int ruleId )
     {
         return immutableDITStructureRuleRegistry.contains( ruleId );
@@ -64,6 +65,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<DitStructureRule> iterator()
     {
         return immutableDITStructureRuleRegistry.iterator();
@@ -73,6 +75,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<Integer> ruleIdIterator()
     {
         return immutableDITStructureRuleRegistry.ruleIdIterator();
@@ -82,6 +85,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( int ruleId ) throws LdapException
     {
         return immutableDITStructureRuleRegistry.getSchemaName( ruleId );
@@ -91,6 +95,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( DitStructureRule ditStructureRule ) throws LdapException
     {
     }
@@ -99,6 +104,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule lookup( int ruleId ) throws LdapException
     {
         return immutableDITStructureRuleRegistry.lookup( ruleId );
@@ -108,6 +114,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregister( int ruleId ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );
@@ -117,6 +124,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );
@@ -126,6 +134,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );
@@ -135,6 +144,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableDitStructureRuleRegistry copy()
     {
         return ( ImmutableDitStructureRuleRegistry ) immutableDITStructureRuleRegistry.copy();
@@ -144,6 +154,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableDITStructureRuleRegistry.size();
@@ -153,6 +164,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableDITStructureRuleRegistry.contains( oid );
@@ -162,6 +174,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableDITStructureRuleRegistry.getOidByName( name );
@@ -171,6 +184,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableDITStructureRuleRegistry.getSchemaName( oid );
@@ -180,6 +194,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableDITStructureRuleRegistry.getType();
@@ -189,6 +204,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule lookup( String oid ) throws LdapException
     {
         return immutableDITStructureRuleRegistry.lookup( oid );
@@ -198,6 +214,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableDITStructureRuleRegistry.oidsIterator();
@@ -207,6 +224,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );
@@ -216,6 +234,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule get( String oid )
     {
         return immutableDITStructureRuleRegistry.get( oid );
@@ -225,6 +244,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );
@@ -234,6 +254,7 @@ public class ImmutableDitStructureRuleRe
     /**
      * {@inheritDoc}
      */
+    @Override
     public DitStructureRule unregister( DitStructureRule schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableLdapSyntaxRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableLdapSyntaxRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableLdapSyntaxRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableLdapSyntaxRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableLdapSyntaxRegistry copy()
     {
         return ( ImmutableLdapSyntaxRegistry ) immutableLdapSyntaxRegistry.copy();
@@ -64,6 +65,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableLdapSyntaxRegistry.size();
@@ -73,6 +75,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableLdapSyntaxRegistry.contains( oid );
@@ -82,6 +85,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableLdapSyntaxRegistry.getOidByName( name );
@@ -91,6 +95,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableLdapSyntaxRegistry.getSchemaName( oid );
@@ -100,6 +105,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableLdapSyntaxRegistry.getType();
@@ -109,6 +115,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<LdapSyntax> iterator()
     {
         return immutableLdapSyntaxRegistry.iterator();
@@ -118,6 +125,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapSyntax lookup( String oid ) throws LdapException
     {
         return immutableLdapSyntaxRegistry.lookup( oid );
@@ -127,6 +135,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableLdapSyntaxRegistry.oidsIterator();
@@ -136,6 +145,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( LdapSyntax schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );
@@ -145,6 +155,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );
@@ -154,6 +165,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapSyntax unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );
@@ -163,6 +175,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );
@@ -172,6 +185,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapSyntax get( String oid )
     {
         return immutableLdapSyntaxRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );
@@ -190,6 +205,7 @@ public class ImmutableLdapSyntaxRegistry
     /**
      * {@inheritDoc}
      */
+    @Override
     public LdapSyntax unregister( LdapSyntax schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableMatchingRuleRegistry copy()
     {
         return ( ImmutableMatchingRuleRegistry ) immutableMatchingRuleRegistry.copy();
@@ -64,6 +65,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableMatchingRuleRegistry.size();
@@ -73,6 +75,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableMatchingRuleRegistry.contains( oid );
@@ -82,6 +85,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableMatchingRuleRegistry.getOidByName( name );
@@ -91,6 +95,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableMatchingRuleRegistry.getSchemaName( oid );
@@ -100,6 +105,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableMatchingRuleRegistry.getType();
@@ -109,6 +115,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<MatchingRule> iterator()
     {
         return immutableMatchingRuleRegistry.iterator();
@@ -118,6 +125,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRule lookup( String oid ) throws LdapException
     {
         return immutableMatchingRuleRegistry.lookup( oid );
@@ -127,6 +135,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableMatchingRuleRegistry.oidsIterator();
@@ -136,6 +145,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( MatchingRule schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );
@@ -145,6 +155,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );
@@ -154,6 +165,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRule unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );
@@ -163,6 +175,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );
@@ -172,6 +185,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRule get( String oid )
     {
         return immutableMatchingRuleRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );
@@ -190,6 +205,7 @@ public class ImmutableMatchingRuleRegist
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRule unregister( MatchingRule schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleUseRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleUseRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleUseRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleUseRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableMatchingRuleUseRegistry copy()
     {
         return ( ImmutableMatchingRuleUseRegistry ) immutableMatchingRuleUseRegistry.copy();
@@ -64,6 +65,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableMatchingRuleUseRegistry.size();
@@ -73,6 +75,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableMatchingRuleUseRegistry.contains( oid );
@@ -82,6 +85,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableMatchingRuleUseRegistry.getOidByName( name );
@@ -91,6 +95,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableMatchingRuleUseRegistry.getSchemaName( oid );
@@ -100,6 +105,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableMatchingRuleUseRegistry.getType();
@@ -109,6 +115,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<MatchingRuleUse> iterator()
     {
         return immutableMatchingRuleUseRegistry.iterator();
@@ -118,6 +125,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRuleUse lookup( String oid ) throws LdapException
     {
         return immutableMatchingRuleUseRegistry.lookup( oid );
@@ -127,6 +135,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableMatchingRuleUseRegistry.oidsIterator();
@@ -136,6 +145,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( MatchingRuleUse schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );
@@ -145,6 +155,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );
@@ -154,6 +165,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRuleUse unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );
@@ -163,6 +175,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );
@@ -172,6 +185,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRuleUse get( String oid )
     {
         return immutableMatchingRuleUseRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );
@@ -190,6 +205,7 @@ public class ImmutableMatchingRuleUseReg
     /**
      * {@inheritDoc}
      */
+    @Override
     public MatchingRuleUse unregister( MatchingRuleUse schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04281 ) );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNameFormRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNameFormRegistry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNameFormRegistry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNameFormRegistry.java Tue Nov 29 10:48:26 2016
@@ -55,6 +55,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public ImmutableNameFormRegistry copy()
     {
         return ( ImmutableNameFormRegistry ) immutableNameFormRegistry.copy();
@@ -64,6 +65,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public int size()
     {
         return immutableNameFormRegistry.size();
@@ -73,6 +75,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String oid )
     {
         return immutableNameFormRegistry.contains( oid );
@@ -82,6 +85,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOidByName( String name ) throws LdapException
     {
         return immutableNameFormRegistry.getOidByName( name );
@@ -91,6 +95,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getSchemaName( String oid ) throws LdapException
     {
         return immutableNameFormRegistry.getSchemaName( oid );
@@ -100,6 +105,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public SchemaObjectType getType()
     {
         return immutableNameFormRegistry.getType();
@@ -109,6 +115,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<NameForm> iterator()
     {
         return immutableNameFormRegistry.iterator();
@@ -118,6 +125,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public NameForm lookup( String oid ) throws LdapException
     {
         return immutableNameFormRegistry.lookup( oid );
@@ -127,6 +135,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public Iterator<String> oidsIterator()
     {
         return immutableNameFormRegistry.oidsIterator();
@@ -136,6 +145,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( NameForm schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );
@@ -145,6 +155,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );
@@ -154,6 +165,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public NameForm unregister( String numericOid ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );
@@ -163,6 +175,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public void unregisterSchemaElements( String schemaName ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );
@@ -172,6 +185,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public NameForm get( String oid )
     {
         return immutableNameFormRegistry.get( oid );
@@ -181,6 +195,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public void clear() throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );
@@ -190,6 +205,7 @@ public class ImmutableNameFormRegistry i
     /**
      * {@inheritDoc}
      */
+    @Override
     public NameForm unregister( NameForm schemaObject ) throws LdapException
     {
         throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) );



Mime
View raw message