nockdg Posted August 22, 2011 Share Posted August 22, 2011 Hi,I've just updated our JasperReports library from 2.0.4 to 4.1.1 and so far it has mostly gone ok.I now see a lot of deprecation warnings related to JRDesignExpression.setValueClass. Is this no longer necessary or is there something else that we should be calling?ThanksDave Link to comment Share on other sites More sharing options...
szaharia Posted August 22, 2011 Share Posted August 22, 2011 Hi,The valueClass attribute is no more required. There's nothing else to be called or written instead.Regards,sanda Link to comment Share on other sites More sharing options...
stijndewitt Posted June 4, 2012 Share Posted June 4, 2012 A small explanation on that in the Javadoc of the actual method would be great. Saves us having to Google it.If you look at the current Javadoc for this method, it just says "Deprecated. To be removed.". No explanation on what the method does / did or why it is deprecated and what (if anything) to call in it's stead...Post Edited by stijndewitt at 06/04/2012 10:17 Link to comment Share on other sites More sharing options...
stijndewitt Posted December 4, 2012 Share Posted December 4, 2012 Seems like this answer is in fact wrong. I removed all calls to this method, but after I did that I got some errors on JUnits and robot tests that I did not understand. Stuff wasn't working correct anymore. When I reverted my changes, all was well again. So I'm not sure what side effects the method is causing, but it is doing *something*. This kind of stuff makes me itchy. The method is deprecated, but there is no explanation why, no hints on what to replace it with etc. It makes my life as a developer using Jasper harder and I don't see what benefit I am getting in return. Link to comment Share on other sites More sharing options...
stijndewitt Posted December 4, 2012 Share Posted December 4, 2012 One-and-a-half year later, and still there are no docs. Shame. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now