[icedtea-web] RFC: unify localization code

Omair Majid omajid at redhat.com
Mon Oct 25 11:22:28 PDT 2010


On 10/25/2010 02:20 PM, Omair Majid wrote:
> On 10/25/2010 01:22 PM, Deepak Bhole wrote:
>> * Omair Majid<omajid at redhat.com> [2010-10-25 12:54]:
>>> Hi,
>>>
>>> Netx contains a number of duplicate methods named "R" defined in
>>> various files that act as a wrapper for JNLPRuntime.getMessage().
>>> The attached patch creates a new class Translate and moves all the
>>> "R" methods to it. This set of overloaded "R" methods is then
>>> statically imported anywhere that needs localized strings.
>>>
>>
>> While it is being refactored, why not use varargs for R()?
>>
>
> Fixed.

Grr.. Accceidentally sent without finishing email :(

Here is the attachment.

Thanks,
Omair

-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-unify-localization-methods-02.patch
Type: text/x-patch
Size: 18828 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101025/f6335df6/icedtea-web-unify-localization-methods-02.patch 


More information about the distro-pkg-dev mailing list