setDefaultLong has been deprecated. it is suggested that you use register the converters directly. eg
ConvertUtils.register(new LongConverter(defaultLong), Long.TYPE); ConvertUtils.register(new LongConverter(defaultLong), Long.class);
- robert
On Wednesday, March 26, 2003, at 06:08 PM, Raible, Matt wrote:
I just upgraded from Struts 1.1 RC1 to last nights build and now I'm getting
the following error:
warning: setDefaultLong(long) in org.apache.commons.beanutils.ConvertUtils has been deprecated [javac] ConvertUtils.setDefaultLong(0);
However, it's not deprecated in the JavaDocs (http://tinyurl.com/87ej). Is
there a replacement?
Thanks,
Matt
-----Original Message----- From: Raible, Matt Sent: Wednesday, March 26, 2003 11:02 AM To: '[EMAIL PROTECTED]' Subject: [Collections] ListUtils.sum deprecated?
I found that the following method is deprecated in the latest version of the commons-collections.jar that is included with Struts. According to the javadocs, the deprecation has been reversed. So my question is, should I use it or now?
ListUtils.sum(list1, list2);
Thanks,
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]