You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/01/29 10:48:08 UTC

svn commit: r500982 - /directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java

Author: elecharny
Date: Mon Jan 29 01:48:07 2007
New Revision: 500982

URL: http://svn.apache.org/viewvc?view=rev&rev=500982
Log:
Removed useless methods. Small refactoring

Modified:
    directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java

Modified: directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=500982&r1=500981&r2=500982
==============================================================================
--- directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java (original)
+++ directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java Mon Jan 29 01:48:07 2007
@@ -344,24 +344,6 @@
     }
 
     /**
-     * Check if an attribute stores binary values.
-     * 
-     * @return Returns true if the attribute is binary.
-     */
-    public boolean isBinary( String id )
-    {
-        return binaries.contains( StringTools.lowerCase( StringTools.trim( id ) ) );
-    }
-
-    /**
-     * Destroy the Schema Service
-     */
-    public void destroy()
-    {
-    }
-
-
-    /**
      * 
      */
     public NamingEnumeration list( NextInterceptor nextInterceptor, LdapDN base ) throws NamingException
@@ -1621,7 +1603,7 @@
     public void add( NextInterceptor next, LdapDN normName, Attributes attrs ) throws NamingException
     {
         check( normName, attrs );
-        next.add(normName, attrs );
+        next.add( normName, attrs );
     }