[Yanel-commits] rev 25294 -
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util
simon at wyona.com
simon at wyona.com
Thu Jun 21 15:31:08 CEST 2007
Author: simon
Date: 2007-06-21 15:31:07 +0200 (Thu, 21 Jun 2007)
New Revision: 25294
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/PathUtil.java
Log:
made methode names more accurate.
Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/PathUtil.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/PathUtil.java 2007-06-21 13:24:01 UTC (rev 25293)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/PathUtil.java 2007-06-21 13:31:07 UTC (rev 25294)
@@ -93,15 +93,15 @@
* @param resource Resource
* @return A string with as many ../ as it needs to get from the resource path to the root of the realm and adds the reservedPrefix and resource-types/resource-type-namespace::resource-type-localname/ to it.
*/
- public static String getResourcesHtdocs(Resource resource) {
- return getGlobalHtdocs(resource) + "resource-types/" + resource.getResourceTypeNamespace() + "::" + resource.getResourceTypeLocalName() + "/";
+ public static String getResourcesHtdocsPath(Resource resource) {
+ return getGlobalHtdocsPath(resource) + "resource-types/" + resource.getResourceTypeNamespace() + "::" + resource.getResourceTypeLocalName() + "/";
}
/**
* @param resource Resource
* @return A string with as many ../ as it needs to get from the resource path to the root of the realm and adds the reservedPrefix to it.
*/
- public static String getGlobalHtdocs(Resource resource) {
+ public static String getGlobalHtdocsPath(Resource resource) {
return backToRealm(resource.getPath()) + resource.getYanel().getReservedPrefix() + "/";
}
}
More information about the Yanel-commits
mailing list