Author: tmortagne
Date: 2007-10-06 11:04:32 +0200 (Sat, 06 Oct 2007)
New Revision: 5313
Modified:
xwiki-platform/core/trunk/xwiki-core/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/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Document.java
===================================================================
---
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Document.java
2007-10-06 09:04:19 UTC (rev 5312)
+++
xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/api/Document.java
2007-10-06 09:04:32 UTC (rev 5313)
@@ -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
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications