You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/06/29 08:57:04 UTC

[jira] Created: (CLI-135) Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal

Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal
---------------------------------------------------------------------------------

                 Key: CLI-135
                 URL: https://issues.apache.org/jira/browse/CLI-135
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.0
            Reporter: Henri Yandell
             Fix For: 1.1


ERROR: 7006: org.apache.commons.cli.Option: Return type of method 'public boolean addValue(java.lang.String)' has been changed to void
ERROR: 7009: org.apache.commons.cli.Option: Accessibility of method 'public boolean addValue(java.lang.String)' has been decreased from public to
package

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (CLI-135) Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated CLI-135:
------------------------------

    Attachment: CLI-135-2nd.patch

Got the parameter wrong on the new/old addValue. I did Object, should have been String. This patch fixes that.

> Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal
> ---------------------------------------------------------------------------------
>
>                 Key: CLI-135
>                 URL: https://issues.apache.org/jira/browse/CLI-135
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.0
>            Reporter: Henri Yandell
>             Fix For: 1.1
>
>         Attachments: CLI-135-2nd.patch, CLI-135.patch
>
>
> ERROR: 7006: org.apache.commons.cli.Option: Return type of method 'public boolean addValue(java.lang.String)' has been changed to void
> ERROR: 7009: org.apache.commons.cli.Option: Accessibility of method 'public boolean addValue(java.lang.String)' has been decreased from public to
> package

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (CLI-135) Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLI-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509029 ] 

Henri Yandell commented on CLI-135:
-----------------------------------

First step is to change the package private addValue variant so it no longer clashes.

Second step is to put back the old addValue method in some non-useful way.

> Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal
> ---------------------------------------------------------------------------------
>
>                 Key: CLI-135
>                 URL: https://issues.apache.org/jira/browse/CLI-135
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.0
>            Reporter: Henri Yandell
>             Fix For: 1.1
>
>
> ERROR: 7006: org.apache.commons.cli.Option: Return type of method 'public boolean addValue(java.lang.String)' has been changed to void
> ERROR: 7009: org.apache.commons.cli.Option: Accessibility of method 'public boolean addValue(java.lang.String)' has been decreased from public to
> package

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (CLI-135) Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated CLI-135:
------------------------------

    Attachment: CLI-135.patch

Attaching a patch to do both of these. The new method is addValueForProcessing.

> Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal
> ---------------------------------------------------------------------------------
>
>                 Key: CLI-135
>                 URL: https://issues.apache.org/jira/browse/CLI-135
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.0
>            Reporter: Henri Yandell
>             Fix For: 1.1
>
>         Attachments: CLI-135.patch
>
>
> ERROR: 7006: org.apache.commons.cli.Option: Return type of method 'public boolean addValue(java.lang.String)' has been changed to void
> ERROR: 7009: org.apache.commons.cli.Option: Accessibility of method 'public boolean addValue(java.lang.String)' has been decreased from public to
> package

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Closed: (CLI-135) Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed CLI-135.
-----------------------------

    Resolution: Fixed

Patches applied. Clirr no longer errors.

> Backwards compatibility between 1.1 and 1.0 broken due to Option.addValue removal
> ---------------------------------------------------------------------------------
>
>                 Key: CLI-135
>                 URL: https://issues.apache.org/jira/browse/CLI-135
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.0
>            Reporter: Henri Yandell
>             Fix For: 1.1
>
>         Attachments: CLI-135-2nd.patch, CLI-135.patch
>
>
> ERROR: 7006: org.apache.commons.cli.Option: Return type of method 'public boolean addValue(java.lang.String)' has been changed to void
> ERROR: 7009: org.apache.commons.cli.Option: Accessibility of method 'public boolean addValue(java.lang.String)' has been decreased from public to
> package

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org