Author: markt
Date: Wed Feb 20 12:28:52 2013
New Revision: 1448121
URL: http://svn.apache.org/r1448121
Log:
Deprecate prior to removal
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/URL.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/URL.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/URL.java?rev=1448121&r1=1448120&r2=1448121&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/URL.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/URL.java Wed Feb 20 12:28:52
2013
@@ -188,7 +188,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 {
@@ -524,7 +527,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]