directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@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...
Date Thu, 27 Nov 2008 21:39:28 GMT
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 )
>                  {

Mime
View raw message