acy/xwiki-platform-legacy-oldcore/src/main/aspect/com/xpn/xwiki/api/UtilCompatibilityAspect.aj#L202
-Vincent
> Cheers,
>
> Bryn
> - Reply message -
> From: "vinc...@massol.net"
> To: "XWiki Users"
> Cc: "Bryn Jeffries"
> Subje
Thanks. Can you provide a link to that entry?
Cheers,
Bryn
- Reply message -
From: "vinc...@massol.net"
To: "XWiki Users"
Cc: "Bryn Jeffries"
Subject: [xwiki-users] Where's the right parseInt?
Date: Thu, Jan 8, 2015 19:09
Hi,
The javadoc say
Hi,
The javadoc says:
/**
* Convert a {@code String} to a primitive {@code int}.
*
* @param str the String to convert to an integer
* @return the parsed integer or zero if the string is not a valid integer
number
* @since 1.3 Milestone 2
* @deprecated use {@code
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 usag