Author: markt
Date: Wed Feb 20 13:01:47 2013
New Revision: 1448144

URL: http://svn.apache.org/r1448144
Log:
Deprecate

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/URL.java

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1448117,1448121

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/URL.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/URL.java?rev=1448144&r1=1448143&r2=1448144&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/URL.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/URL.java Wed Feb 20 
13:01:47 2013
@@ -185,7 +185,10 @@ public final class URL implements Serial
      *
      * @exception MalformedURLException is never thrown, but present for
      *  compatible APIs
+     *
+     * @deprecated  Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     public URL(String protocol, String host, String file)
         throws MalformedURLException {
 
@@ -207,7 +210,10 @@ public final class URL implements Serial
      *
      * @exception MalformedURLException is never thrown, but present for
      *  compatible APIs
+     *
+     * @deprecated  Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     public URL(String protocol, String host, int port, String file)
         throws MalformedURLException {
 
@@ -543,7 +549,9 @@ public final class URL implements Serial
     /**
      * Return a string representation of this URL.  This follow the rules in
      * RFC 2396, Section 5.2, Step 7.
+     * @deprecated  Unused. Will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     public String toExternalForm() {
 
         StringBuilder sb = new StringBuilder();



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to