cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r640821 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java
Date Tue, 25 Mar 2008 14:06:54 GMT
Author: reinhard
Date: Tue Mar 25 07:06:46 2008
New Revision: 640821

URL: http://svn.apache.org/viewvc?rev=640821&view=rev
Log:
remove method that is not supported with java 1.4

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java?rev=640821&r1=640820&r2=640821&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/excalibur/sourceresolve/jnet/source/SourceURLStreamHandler.java
Tue Mar 25 07:06:46 2008
@@ -17,7 +17,6 @@
 package org.apache.excalibur.sourceresolve.jnet.source;
 
 import java.io.IOException;
-import java.net.Proxy;
 import java.net.URL;
 import java.net.URLConnection;
 import java.net.URLStreamHandler;
@@ -36,12 +35,13 @@
         return new SourceURLConnection(this.sourceFactory, url);
     }
 
-    /**
-     * @see java.net.URLStreamHandler#openConnection(java.net.URL, java.net.Proxy)
-     */
-    protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
-        return this.openConnection(url);
-    }
+//  Not supported with Java 1.4
+//    /**
+//     * @see java.net.URLStreamHandler#openConnection(java.net.URL, java.net.Proxy)
+//     */
+//    protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
+//        return this.openConnection(url);
+//    }
 
 
 }



Mime
View raw message