From commits-return-11679-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Mon Jan 01 23:19:56 2007 Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 45006 invoked from network); 1 Jan 2007 23:19:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jan 2007 23:19:55 -0000 Received: (qmail 42475 invoked by uid 500); 1 Jan 2007 23:20:02 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 42442 invoked by uid 500); 1 Jan 2007 23:20:01 -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 42426 invoked by uid 99); 1 Jan 2007 23:20:01 -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:20:01 -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:19:54 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 0FF6E1A981A; Mon, 1 Jan 2007 15:18:59 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r491689 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java Date: Mon, 01 Jan 2007 23:18:58 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070101231859.0FF6E1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Mon Jan 1 15:18:58 2007 New Revision: 491689 URL: http://svn.apache.org/viewvc?view=rev&rev=491689 Log: Little improvment : avoided a call to new Integer() Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java?view=diff&rev=491689&r1=491688&r2=491689 ============================================================================== --- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java (original) +++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/util/BooleanUtils.java Mon Jan 1 15:18:58 2007 @@ -36,9 +36,9 @@ */ public class BooleanUtils { - private static final Integer INTEGER_ZERO = new Integer( 0 ); + private static final Integer INTEGER_ZERO = Integer.valueOf( 0 ); - private static final Integer INTEGER_ONE = new Integer( 1 ); + private static final Integer INTEGER_ONE = Integer.valueOf( 1 ); /**