directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r491279 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
Date Sat, 30 Dec 2006 18:32:06 GMT
Author: elecharny
Date: Sat Dec 30 10:32:05 2006
New Revision: 491279

URL: http://svn.apache.org/viewvc?view=rev&rev=491279
Log:
removed a useless call of new String( xxx ) when xxx is already a String

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java?view=diff&rev=491279&r1=491278&r2=491279
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
Sat Dec 30 10:32:05 2006
@@ -1050,7 +1050,7 @@
                     }
                     else
                     {
-                        value = new String( decode( new String( chars, start, i - start )
) ).trim();
+                        value = decode( new String( chars, start, i - start ) ).trim();
 
                         if ( value.length() == 0 )
                         {



Mime
View raw message