[forge-issues] [JBoss JIRA] (FORGE-2230) CoordinateBuilder should set null for empty parts of G:A:P:C:V
Ondrej Zizka (JIRA)
issues at jboss.org
Tue Feb 10 07:47:49 EST 2015
[ https://issues.jboss.org/browse/FORGE-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Zizka updated FORGE-2230:
--------------------------------
Affects Version/s: 2.14.0.Final
> CoordinateBuilder should set null for empty parts of G:A:P:C:V
> --------------------------------------------------------------
>
> Key: FORGE-2230
> URL: https://issues.jboss.org/browse/FORGE-2230
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 2.14.0.Final
> Reporter: Ondrej Zizka
>
> CoordinateBuilder, when given "G:A:::V", should set P and C to null. Having them empty strings is no good.
> Consider machine-provided lists contaning:
> org.foo:foo-bar:::4.1.2
> This should end with the same result as parsing
> org.foo:foo-bar:4.1.2
> whereas it ends up with P and C set to empty strings, and forces the user of the api to do extra check for an empty string value.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list