activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2310) RestFilter.java has a dependency on Sun JDK classes
Date Mon, 29 Jun 2009 08:36:08 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dejan Bosanac resolved AMQ-2310.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.0
         Assignee: Dejan Bosanac

Fixed in SVN revision 789258. Thanks for spotting this.

> 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
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.3.0
>
>
> 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