User: ko5tik Date: 02/10/09 10:09:19 Modified: modules/xdoclet/src/xdoclet/modules/externalizer/resources translator.xdt Log: fixed small bug - allow arrays of Object, not only String Revision Changes Path 1.2 +1 -1 xdoclet/modules/xdoclet/src/xdoclet/modules/externalizer/resources/translator.xdt Index: translator.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/externalizer/resources/translator.xdt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- translator.xdt 6 Oct 2002 17:43:19 -0000 1.1 +++ translator.xdt 9 Oct 2002 17:09:19 -0000 1.2 @@ -21,7 +21,7 @@ return resourceKey; } } - public static java.lang.String getString(String resourceKey, String[] arguments ) throws MissingResourceException { + public static java.lang.String getString(String resourceKey, Object[] arguments ) throws MissingResourceException { try { return MessageFormat.format(getBundle().getString(resourceKey),arguments); } catch(MissingResourceException ex) {
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel