directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r575346 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java
Date Thu, 13 Sep 2007 16:04:55 GMT
Author: elecharny
Date: Thu Sep 13 09:04:54 2007
New Revision: 575346

URL: http://svn.apache.org/viewvc?rev=575346&view=rev
Log:
Removed warnings by using generics, cleaning the antlr .g files from useless imports, removed
useless casts.

Modified:
    directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java

Modified: directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java?rev=575346&r1=575345&r2=575346&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java
(original)
+++ directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/io/encoder/PrincipalNameEncoder.java
Thu Sep 13 09:04:54 2007
@@ -90,7 +90,7 @@
 
         while ( it.hasNext() )
         {
-            vector.add( DERGeneralString.valueOf( ( String ) it.next() ) );
+            vector.add( DERGeneralString.valueOf( it.next() ) );
         }
 
         return vector;
@@ -113,7 +113,7 @@
 
         while ( it.hasNext() )
         {
-            vector.add( DERGeneralString.valueOf( ( String ) it.next() ) );
+            vector.add( DERGeneralString.valueOf( it.next() ) );
         }
 
         return vector;



Mime
View raw message