On Oct 19, 2010, at 11:00 AM, cjdelisle (SVN) wrote:
Author: cjdelisle
Date: 2010-10-19 11:00:29 +0200 (Tue, 19 Oct 2010)
New Revision: 31955
Modified:
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Context.java
Log:
XWIKI-5595: Deprecate com.xpn.xwiki.api.Context#getUtil()
Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Context.java
===================================================================
---
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Context.java 2010-10-19
07:57:12 UTC (rev 31954)
+++
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Context.java 2010-10-19
09:00:29 UTC (rev 31955)
@@ -538,7 +538,9 @@
*
* @return an instance of the {@link com.xpn.xwiki.util.Util} class
* @see Util
+ * @deprecated since 2.5RC1 the functions provided by Util are internal, please do
not use them.
Shouldn't this be 2.6M1?
Thanks
-Vincent
*/
+ @Deprecated
public Util getUtil()
{
return this.context.getUtil();