directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r542335 - in /directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core: authz/ModifyAuthorizationITest.java jndi/SearchITest.java prefs/ServerSystemPreferencesITest.java
Date Mon, 28 May 2007 22:00:31 GMT
Author: erodriguez
Date: Mon May 28 15:00:30 2007
New Revision: 542335

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

Modified:
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/authz/ModifyAuthorizationITest.java
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchITest.java
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/prefs/ServerSystemPreferencesITest.java

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/authz/ModifyAuthorizationITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/authz/ModifyAuthorizationITest.java?view=diff&rev=542335&r1=542334&r2=542335
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/authz/ModifyAuthorizationITest.java
(original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/authz/ModifyAuthorizationITest.java
Mon May 28 15:00:30 2007
@@ -233,7 +233,7 @@
             mods.add( new ModificationItemImpl( modOp, attr ) );
         }
         ModificationItemImpl[] modArray = new ModificationItemImpl[mods.size()];
-        return ( ModificationItemImpl[] ) mods.toArray( modArray );
+        return mods.toArray( modArray );
     }
 
 

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchITest.java?view=diff&rev=542335&r1=542334&r2=542335
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchITest.java
(original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchITest.java
Mon May 28 15:00:30 2007
@@ -162,7 +162,7 @@
         heather.put( ocls );
         heather.put( "cn", "Heather Nova" );
         heather.put( "sn", "Nova" );
-        ctx = ( DirContext ) sysRoot.createSubcontext( rdn, heather );
+        ctx = sysRoot.createSubcontext( rdn, heather );
         assertNotNull( ctx );
 
         ctx = ( DirContext ) sysRoot.lookup( rdn );

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/prefs/ServerSystemPreferencesITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/prefs/ServerSystemPreferencesITest.java?view=diff&rev=542335&r1=542334&r2=542335
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/prefs/ServerSystemPreferencesITest.java
(original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/prefs/ServerSystemPreferencesITest.java
Mon May 28 15:00:30 2007
@@ -127,7 +127,7 @@
         testNode.putFloat( "cn", ( float ) 9.20 );
         testNode.sync();
         testNode = prefs.node( "testNode" );
-        assertTrue( ( float ) 9.20 == ( float ) testNode.getFloat( "cn", ( float ) 9.20 )
);
+        assertTrue( ( float ) 9.20 == testNode.getFloat( "cn", ( float ) 9.20 ) );
     }
 
 



Mime
View raw message