I've recycled some code from the tutorials and snippets in my own code, and in 
particular I've used the following in some velocity scripts:
#set($offset = $util.parseInt($request.get('offset')))

which yields the following warning in the log:
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.Util.parseInt] in 40:xwiki:DemoSpace.DemoPage@4,29

I notice in 
http://www.xwiki.org/xwiki/bin/view/FAQ/WhyDoIHaveDeprecatedUsageOfMethodXXXInTheConsoleLog
 that a very similar warning is mentioned, but in the answer the recomendation 
is to switch from  $xwiki.parseInt to  $util.parseInt. But it looks like this 
has also been deprecated. So what should we be using instead?
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to