[ 
https://issues.apache.org/jira/browse/FELIX-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840123#action_12840123
 ] 

Felix Meschberger commented on FELIX-2151:
------------------------------------------

The drawback of the proposed solution is that the URI object has only been 
introduced with Java 1.4 and using this class might prevent using the code in 
limited environments like Java 1.3 or mobiles.

Without looking at the code: could we use strings instead ?

> Use URIs instead of URLs in the API
> -----------------------------------
>
>                 Key: FELIX-2151
>                 URL: https://issues.apache.org/jira/browse/FELIX-2151
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>
> The reason is that you can then more easily manipulate the URIs without the 
> need
> for having the URL handler.  For example I'd like to use mvn url handlers for 
> resources,
> but manipulating the API outside of OSGi will make it very difficult or even 
> parsing the
> repository.  When accessing the resources, URI can be converted to URLs quite 
> easily,
> checking the needed URL handlers presence as late as possible.

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

Reply via email to