Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 96897 invoked from network); 27 Nov 2008 21:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 21:40:10 -0000 Received: (qmail 17423 invoked by uid 500); 27 Nov 2008 21:40:21 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 17378 invoked by uid 500); 27 Nov 2008 21:40:21 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 17364 invoked by uid 99); 27 Nov 2008 21:40:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 13:40:21 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.179.121.47] (HELO viefep27-int.chello.at) (62.179.121.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 21:38:53 +0000 Received: from felixknecht.ch ([84.72.24.104]) by viefep27-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081127213926.EVJM17128.viefep27-int.chello.at@felixknecht.ch> for ; Thu, 27 Nov 2008 22:39:26 +0100 Received: (qmail 12840 invoked by uid 210); 27 Nov 2008 21:39:25 -0000 Received: from 192.168.1.97 by odin (envelope-from , uid 201) with qmail-scanner-2.05st (clamdscan: 0.94.1/8684. perlscan: 2.05st. Clear:RC:1(192.168.1.97):. Processed in 0.095921 secs); 27 Nov 2008 21:39:25 -0000 Received: from unknown (HELO ?192.168.1.97?) (192.168.1.97) by 192.168.1.11 with SMTP; 27 Nov 2008 21:39:25 -0000 Message-ID: <492F1390.90306@apache.org> Date: Thu, 27 Nov 2008 22:39:28 +0100 From: Felix Knecht Organization: apache.org User-Agent: Thunderbird 2.0.0.18 (X11/20081121) MIME-Version: 1.0 To: dev@directory.apache.org Subject: Re: svn commit: r721277 - in /directory/studio/trunk: connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/ ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/ ldapbrowser-ui/src/main... References: <20081127205810.6A7F02388873@eris.apache.org> In-Reply-To: <20081127205810.6A7F02388873@eris.apache.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Stefan Why 'Use Object[] instead of int[]'? Did I trapped into a Java6 trap? Felix seelmann@apache.org schrieb: > Author: seelmann > Date: Thu Nov 27 12:58:09 2008 > New Revision: 721277 > > URL: http://svn.apache.org/viewvc?rev=721277&view=rev > Log: > o Some typos > o Use 'Vergleichsregeln' as translation for matching rules > o Use Object[] instead of int[] to bind parameters to messages > > > > Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/AttributeTypeDescriptionDetailsPage.java > URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/AttributeTypeDescriptionDetailsPage.java?rev=721277&r1=721276&r2=721277&view=diff > ============================================================================== > --- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/AttributeTypeDescriptionDetailsPage.java (original) > +++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/AttributeTypeDescriptionDetailsPage.java Thu Nov 27 12:58:09 2008 > @@ -528,7 +528,7 @@ > otherMatchSection > .setText( NLS > .bind( > - Messages.getString( "AttributeTypeDescriptionDetailsPage.OtherMatchingRulesCount" ), new int[] { otherMrdNames.size() } ) ); //$NON-NLS-1$ > + Messages.getString( "AttributeTypeDescriptionDetailsPage.OtherMatchingRulesCount" ), new Object[] { otherMrdNames.size() } ) ); //$NON-NLS-1$ > for ( String mrdName : otherMrdNames ) > {