You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2010/05/17 17:28:25 UTC

svn commit: r945208 - /directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java

Author: felixk
Date: Mon May 17 15:28:25 2010
New Revision: 945208

URL: http://svn.apache.org/viewvc?rev=945208&view=rev
Log:
This private method is never called. Comment and keep for maybe future use

Modified:
    directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java

Modified: directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java?rev=945208&r1=945207&r2=945208&view=diff
==============================================================================
--- directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java (original)
+++ directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java Mon May 17 15:28:25 2010
@@ -1041,23 +1041,22 @@ public class SchemaEntityFactory impleme
     }
 
 
-    /**
+    /*
      * Process the ByteCode attribute
      */
-    private EntryAttribute getByteCode( Entry entry, String objectType )
-    {
-        EntryAttribute byteCode = entry.get( MetaSchemaConstants.M_BYTECODE_AT );
-
-        if ( byteCode == null )
-        {
-            String msg = I18n.err( I18n.ERR_10028, objectType, MetaSchemaConstants.M_BYTECODE_AT );
-            LOG.warn( msg );
-            throw new NullPointerException( msg );
-        }
-
-        return byteCode;
-    }
-
+    //    private EntryAttribute getByteCode( Entry entry, String objectType )
+    //    {
+    //        EntryAttribute byteCode = entry.get( MetaSchemaConstants.M_BYTECODE_AT );
+    //
+    //        if ( byteCode == null )
+    //        {
+    //            String msg = I18n.err( I18n.ERR_10028, objectType, MetaSchemaConstants.M_BYTECODE_AT );
+    //            LOG.warn( msg );
+    //            throw new NullPointerException( msg );
+    //        }
+    //
+    //        return byteCode;
+    //    }
 
     /**
      * Process the ByteCode attribute