commits@directory.apache.org
[Top] [All Lists]

svn commit: r572340 - /directory/shared/trunk/ldap/src/main/java/org/apa

Subject: svn commit: r572340 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java
From:
Date: Mon, 03 Sep 2007 13:58:59 -0000
Author: elecharny
Date: Mon Sep  3 06:58:59 2007
New Revision: 572340

URL: http://svn.apache.org/viewvc?rev=572340&view=rev
Log:
Removed useless casts

Modified:
    
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java

Modified: 
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java
URL: 
http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java?rev=572340&r1=572339&r2=572340&view=diff
==============================================================================
--- 
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java
 (original)
+++ 
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java
 Mon Sep  3 06:58:59 2007
@@ -86,7 +86,7 @@
             return EMPTY_OCLASS_ARR;
         }
 
-        return ( ObjectClass[] ) superClasses.toArray( EMPTY_OCLASS_ARR );
+        return superClasses.toArray( EMPTY_OCLASS_ARR );
     }
 
 
@@ -103,7 +103,7 @@
             return EMPTY_ATYPE_ARR;
         }
 
-        return ( AttributeType[] ) mustList.toArray( EMPTY_ATYPE_ARR );
+        return mustList.toArray( EMPTY_ATYPE_ARR );
     }
 
 
@@ -132,7 +132,7 @@
             return EMPTY_ATYPE_ARR;
         }
 
-        return ( AttributeType[] ) mayList.toArray( EMPTY_ATYPE_ARR );
+        return mayList.toArray( EMPTY_ATYPE_ARR );
     }
 
 


<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: r572340 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DefaultObjectClass.java, elecharny <=