directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r945208 - /directory/shared/trunk/ldap-schema-loader/src/main/java/org/apache/directory/shared/ldap/schema/loader/ldif/SchemaEntityFactory.java
Date Mon, 17 May 2010 15:28:25 GMT
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



Mime
View raw message