You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by cm...@apache.org on 2002/08/05 16:07:08 UTC
cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/util PropertyHelper.java
cmlenz 2002/08/05 07:07:08
Modified: src/webdav/server/org/apache/slide/webdav/util
PropertyHelper.java
Log:
Deprecate the PropertyHelper.getAbsoluteURL() method, it doesn't work in
non-default configurations. See my previous commit for more info.
Revision Changes Path
1.30 +8 -4 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.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- PropertyHelper.java 29 Jul 2002 12:16:56 -0000 1.29
+++ PropertyHelper.java 5 Aug 2002 14:07:08 -0000 1.30
@@ -1920,11 +1920,15 @@
/**
* Returns the concatenation of <code>serverURL</code>, <code>contextPath</code>
* and <code>uri</code> and inserts all needed slashes.
+ *
+ * This method is deprecated, as it takes neither scope nor the servlet
+ * path into account (when the servlet is not the default servlet). Please
+ * use WebdavUtils.getAbsolutePath() instead.
*
+ * @deprecated
* @param serverURL the URL of the server
* @param contextPath the context path.
* @param uri the (slide-) URI of the resource.
- *
* @return the concatenated URL.
*/
public static String getAbsoluteURL(String serverURL, String contextPath, String uri) {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>