Author: tmortagne
Date: 2007-10-10 12:36:13 +0200 (Wed, 10 Oct 2007)
New Revision: 5345

Modified:
   
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/XWikiMessageTool.java
Log:
XWIKI-1797: Modify XWikiMessageTool to be able to extends it.

Modified: 
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/XWikiMessageTool.java
===================================================================
--- 
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/XWikiMessageTool.java
  2007-10-10 10:29:15 UTC (rev 5344)
+++ 
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/XWikiMessageTool.java
  2007-10-10 10:36:13 UTC (rev 5345)
@@ -84,13 +84,13 @@
      * The default Resource Bundle to fall back to if no document bundle is 
found when trying to get
      * a key.
      */
-    private ResourceBundle bundle;
+    protected ResourceBundle bundle;
 
     /**
      * The [EMAIL PROTECTED] com.xpn.xwiki.XWikiContext} object, used to get 
access to XWiki primitives for
      * loading documents.
      */
-    private XWikiContext context;
+    protected XWikiContext context;
 
     /**
      * Cache properties loaded from the document bundles for maximum 
efficiency. The map is of type
@@ -170,7 +170,7 @@
     }
 
     /**
-     * @return the list of internationalisation document bundle names as a 
list of XWiki page names
+     * @return the list of internationalization document bundle names as a 
list of XWiki page names
      *         ("Space.Document") or an empty list if no such documents have 
been found
      * @see com.xpn.xwiki.web.XWikiMessageTool for more details on the 
algorithm used to find the
      *      document bundles

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to