Make protected to it is visible to unit tests
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 11:58:37 +0000 (11:58 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 11:58:37 +0000 (11:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1180894 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/Response.java

index 1878d64..d434f66 100644 (file)
@@ -1584,7 +1584,7 @@ public class Response
      * @exception IllegalArgumentException if a MalformedURLException is
      *  thrown when converting the relative URL to an absolute one
      */
-    private String toAbsolute(String location) {
+    protected String toAbsolute(String location) {
 
         if (location == null)
             return (location);