[xwiki-commits] r2197 - xwiki/trunk/core/src/main/java/com/xpn/xwiki/api
Vincent Massol
vincent at massol.net
Mon Feb 19 18:32:00 CET 2007
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 at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-commits-unsubscribe at objectweb.org
> For general help: mailto:sympa at 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
More information about the devs
mailing list