maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-wagon/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh ScpWagon.java
Date Wed, 09 Feb 2005 05:27:22 GMT
brett       2005/02/08 21:27:22

  Modified:    wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh
                        ScpWagon.java
  Log:
  fix compiler error after moving proxy info
  
  Revision  Changes    Path
  1.7       +2 -6      maven-wagon/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
  
  Index: ScpWagon.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ScpWagon.java	15 Dec 2004 21:16:06 -0000	1.6
  +++ ScpWagon.java	9 Feb 2005 05:27:22 -0000	1.7
  @@ -127,17 +127,13 @@
                   }
               }
   
  -            ProxyInfo proxyInfo = getRepository().getProxyInfo();
  -
               if ( proxyInfo != null && proxyInfo.getHost() != null )
               {
                   Proxy proxy;
   
                   int proxyPort = proxyInfo.getPort();
   
  -                // HACK:
  -                //if port == 1080 we will use SOCKS5 Proxy
  -                // otherwise will use HTTP Proxy
  +                // HACK: if port == 1080 we will use SOCKS5 Proxy, otherwise will use HTTP
Proxy
                   if ( proxyPort == SOCKS5_PROXY_PORT )
                   {
                       proxy = new ProxySOCKS5( proxyInfo.getHost() );
  
  
  

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


Mime
View raw message