activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Henry (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2310) RestFilter.java has a dependency on Sun JDK classes
Date Sat, 27 Jun 2009 11:04:07 GMT
RestFilter.java has a dependency on Sun JDK classes
---------------------------------------------------

                 Key: AMQ-2310
                 URL: https://issues.apache.org/activemq/browse/AMQ-2310
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.2.0
         Environment: All
            Reporter: Phillip Henry
            Priority: Minor


activemq/activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java depends
on sun.net.www.protocol.http.HttpURLConnection. I think this is a rogue import and should
have been java.net.HttpURLConnection
{code}
### Eclipse Workspace Patch 1.0
#P activemq
Index: activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java
===================================================================
--- activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java  (revision
768326)
+++ activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java  (working copy)
@@ -38,7 +38,7 @@
 import org.mortbay.log.Log;
 import org.mortbay.util.IO;
 import org.mortbay.util.URIUtil;
-import sun.net.www.protocol.http.HttpURLConnection;
+import java.net.HttpURLConnection;
 
 /**
  * <p>
{code}
This means that those of us without Sun JDKs can compile :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message