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 Fri, 28 Nov 2008 05:14:17 GMT
Stefan Seelmann schrieb:
> 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.

Thanks for explanation. I'm sorry to say that this sows clearly that I'm not verifiying all
the translation and
externalizing stuff if done :-(.
I know I've done more like this ...

Thanks
Felix

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


Mime
View raw message