felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "I-Ann Chen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-389) Allowing for spaces in VersionRange
Date Wed, 03 Oct 2007 17:57:50 GMT

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

I-Ann Chen updated FELIX-389:
-----------------------------

    Attachment: patch.txt

Suggested fix: strip spaces out of range string. Caveat: Allows malformed ranges (example:
[1  .2  .3, 4.5.   6) through.

Minor tangential fix: Removed extra semicolon on line 77 in XmlCommonHandler.

> Allowing for spaces in VersionRange
> -----------------------------------
>
>                 Key: FELIX-389
>                 URL: https://issues.apache.org/jira/browse/FELIX-389
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: 1.0.0
>         Environment: WinXP, Java 6
>            Reporter: I-Ann Chen
>            Priority: Minor
>         Attachments: patch.txt
>
>
> VersionRange.java is not allowing for spaces in the version range (example: [1.2.3, 4.5.6]
will throw a NumberFormatException because it tries to parse " 4").

-- 
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