directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r542340 - /directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java
Date Mon, 28 May 2007 22:03:27 GMT
Author: erodriguez
Date: Mon May 28 15:03:27 2007
New Revision: 542340

URL: http://svn.apache.org/viewvc?view=rev&rev=542340
Log:
Warnings clean-up, unnecessary casts.

Modified:
    directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java

Modified: directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java?view=diff&rev=542340&r1=542339&r2=542340
==============================================================================
--- directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java
(original)
+++ directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java
Mon May 28 15:03:27 2007
@@ -54,6 +54,6 @@
 
     public DhcpOption[] toArray()
     {
-        return ( DhcpOption[] ) options.toArray( new DhcpOption[options.size()] );
+        return options.toArray( new DhcpOption[options.size()] );
     }
 }



Mime
View raw message