mholz 2004/03/14 23:58:55
Modified: src/webdav/server/org/apache/slide/webdav/util Tag:
SLIDE_2_0_RELEASE_BRANCH PropertyHelper.java
Log:
Reverted accidental removal of isAbsoluteURL() and getAbsoluteURL().
Revision Changes Path
No revision
No revision
1.63.2.4 +5 -7
jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/PropertyHelper.java
Index: PropertyHelper.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/PropertyHelper.java,v
retrieving revision 1.63.2.3
retrieving revision 1.63.2.4
diff -u -r1.63.2.3 -r1.63.2.4
--- PropertyHelper.java 14 Mar 2004 18:14:56 -0000 1.63.2.3
+++ PropertyHelper.java 15 Mar 2004 07:58:55 -0000 1.63.2.4
@@ -2029,7 +2029,6 @@
*
* @return the concatenated URL.
*/
- /*
public static String getAbsoluteURL(String serverURL, String contextPath,
String uri) {
StringBuffer buffer = new StringBuffer();
@@ -2053,7 +2052,7 @@
}
return WebdavUtils.encodeURL(buffer.toString());
- }*/
+ }
/**
* Returns <code>true</code> if the given <code>uri</code> is an absolute URL.
@@ -2064,7 +2063,6 @@
*
* @return <code>true</code> if the given <code>uri</code> is an absolute
URL.
*/
- /*
public static boolean isAbsoluteURL(String serverURL, String contextPath,
String uri) {
if (uri.startsWith(S_RESOURCE_ID)) {
return true;
@@ -2076,7 +2074,7 @@
uri = "/" + uri;
}
return uri.startsWith(contextPath);
- }*/
+ }
/**
* Adds the given <code>uri</code> as a <code><href></code> element
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]