connect( x , y ) deprecation cause IllegalStateExceptions
---------------------------------------------------------

                 Key: WAGON-81
                 URL: http://jira.codehaus.org/browse/WAGON-81
             Project: wagon
          Issue Type: Improvement
          Components: wagon-provider-api
    Affects Versions: 1.0
            Reporter: nicolas de loof
            Priority: Trivial
         Attachments: abstractWagon.patch

Wagon-provider-api 2.0 SNAPSHOT deprecates the connect methods with arguments 
(repository, proxyInfo...)

Deprecation breaks existing code, as the parameters are not used to set the 
internal repository/proxyInfo/authenticationInfo and connect() throws an 
IllegalStateException

Having those deprecated connect( x ) call the required setters solves the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to