Hi Sergiu,
I think we need:
1) to decide if we want this in the public API (personally I'm not
sure and I'm actually more against it right now, reason being that
Util doesn't have a strong API).
2) we definitely need a JIRA issue for this (it's not referenced
below so I guess there's no JIRA issue for it).
Thanks
-Vincent
On Feb 19, 2007, at 2:52 PM, Sergiu Dumitriu wrote:
Author: sdumitriu
Date: 2007-02-19 14:52:55 +0100 (Mon, 19 Feb 2007)
New Revision: 2197
Modified:
xwiki/trunk/core/src/main/java/com/xpn/xwiki/api/Context.java
Log:
Add getUtil to the Context API
(is there a reason why this wasn't in there?)
Modified: xwiki/trunk/core/src/main/java/com/xpn/xwiki/api/
Context.java
===================================================================
--- xwiki/trunk/core/src/main/java/com/xpn/xwiki/api/Context.java
2007-02-19 13:47:19 UTC (rev 2196)
+++ xwiki/trunk/core/src/main/java/com/xpn/xwiki/api/Context.java
2007-02-19 13:52:55 UTC (rev 2197)
@@ -23,6 +23,7 @@
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.doc.XWikiDocument;
+import com.xpn.xwiki.util.Util;
import com.xpn.xwiki.validation.XWikiValidationStatus;
import com.xpn.xwiki.web.XWikiRequest;
import com.xpn.xwiki.web.XWikiResponse;
@@ -274,4 +275,8 @@
{
return getXWikiContext().getDisplayedFields();
}
+ public Util getUtil()
+ {
+ return context.getUtil();
+ }
}
--
You receive this message as a subscriber of the xwiki-
commits(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-commits-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/
wws
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface
r�volutionnaire.
http://fr.mail.yahoo.com