Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 46130 invoked from network); 1 Jan 2007 23:24:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jan 2007 23:24:05 -0000 Received: (qmail 45241 invoked by uid 500); 1 Jan 2007 23:24:12 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 45211 invoked by uid 500); 1 Jan 2007 23:24:11 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 45200 invoked by uid 99); 1 Jan 2007 23:24:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2007 15:24:11 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2007 15:24:04 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 41D731A981A; Mon, 1 Jan 2007 15:23:09 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r491693 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java Date: Mon, 01 Jan 2007 23:23:09 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070101232309.41D731A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Mon Jan 1 15:23:08 2007 New Revision: 491693 URL: http://svn.apache.org/viewvc?view=rev&rev=491693 Log: Removed useless new String( 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=491693&r1=491692&r2=491693 ============================================================================== --- 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 Mon Jan 1 15:23:08 2007 @@ -70,7 +70,7 @@ // ----------------------------------------------------------------- /** A null LdapURL */ - public static final transient LdapURL EMPTY_URL = new LdapURL(); + public static final LdapURL EMPTY_URL = new LdapURL(); /** The filter parser */ private static FilterParserImpl filterParser = new FilterParserImpl(); @@ -1085,7 +1085,7 @@ } // An optionnal value - extension = new String( decode( new String( chars, start, i - start ) ) ).trim(); + extension = decode( new String( chars, start, i - start ) ).trim(); if ( extension.length() == 0 ) { @@ -1115,11 +1115,11 @@ if ( extension == null ) { - extension = new String( decode( new String( chars, start, chars.length - start ) ) ).trim(); + extension = decode( new String( chars, start, chars.length - start ) ).trim(); } else { - value = new String( decode( new String( chars, start, chars.length - start ) ) ).trim(); + value = decode( new String( chars, start, chars.length - start ) ).trim(); } if ( isCritical )