Author: tmortagne
Date: 2007-10-06 11:04:19 +0200 (Sat, 06 Oct 2007)
New Revision: 5312

Modified:
   
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/Document.java
Log:
XWIKI-1779: Change getWikiName for getWiki to better follow getSpace and 
getName.

Modified: 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/Document.java
===================================================================
--- 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/Document.java
   2007-10-06 08:46:24 UTC (rev 5311)
+++ 
xwiki-platform/core/branches/xwiki-core-1.1/src/main/java/com/xpn/xwiki/api/Document.java
   2007-10-06 09:04:19 UTC (rev 5312)
@@ -124,7 +124,7 @@
     /**
      * @return the name of the wiki where this document is stored.
      */
-    public String getWikiName()
+    public String getWiki()
     {
         return doc.getDatabase();
     }
@@ -158,7 +158,7 @@
      */
     public String getPrefixedFullName()
     {
-        return (getWikiName() != null ? getWikiName() + ":" : "") + 
getFullName();
+        return (getWiki() != null ? getWiki() + ":" : "") + getFullName();
     }
 
     public Version getRCSVersion()

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

Reply via email to