directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@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 22:17:53 GMT
Hi Felix,

> Why 'Use Object[] instead of int[]'?
> Did I trapped into a Java6 trap?

The NLS class has two relevant overloaded bind() methods:
bind(String,Object) and
bind(String,Object[])

int[] is an Object, not an Object[], so the first method is used.

With int[] I just get the string representation of the array, see
http://imagebin.ca/img/SifoEc.png

Regards,
Stefan



Mime
View raw message