maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r662240 - /maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
Date Sun, 01 Jun 2008 16:14:59 GMT
Author: brett
Date: Sun Jun  1 09:14:59 2008
New Revision: 662240

URL: http://svn.apache.org/viewvc?rev=662240&view=rev
Log:
restore binary compatibility

Modified:
    maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java

Modified: maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
URL: http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java?rev=662240&r1=662239&r2=662240&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
(original)
+++ maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
Sun Jun  1 09:14:59 2008
@@ -72,6 +72,9 @@
     
     private ProxyInfoProvider proxyInfoProvider;
     
+    /** @deprecated */
+    protected ProxyInfo proxyInfo;
+    
     private RepositoryPermissions permissionsOverride;
 
     // ----------------------------------------------------------------------
@@ -160,6 +163,7 @@
                 }
             }
         } );
+        this.proxyInfo = proxyInfo;
     }
     
     public void connect( Repository repository, AuthenticationInfo authenticationInfo,
@@ -201,22 +205,7 @@
         
         fireSessionOpening();
 
-        try
-        {
-            openConnectionInternal();
-        }
-        catch ( ConnectionException e )
-        {
-            fireSessionConnectionRefused();
-            
-            throw e;
-        }
-        catch ( AuthenticationException e )
-        {
-            fireSessionConnectionRefused();
-            
-            throw e;
-        }
+        openConnection();
 
         fireSessionOpened();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message