maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [3/3] git commit: format
Date Thu, 06 Nov 2014 11:20:40 GMT
format


Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/6c7b11dd
Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/6c7b11dd
Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/6c7b11dd

Branch: refs/heads/master
Commit: 6c7b11dd1791fd2443c4470268f9c1b543c34a45
Parents: e7cf166
Author: Olivier Lamy <olamy@apache.org>
Authored: Thu Nov 6 22:20:27 2014 +1100
Committer: Olivier Lamy <olamy@apache.org>
Committed: Thu Nov 6 22:20:27 2014 +1100

----------------------------------------------------------------------
 .../apache/maven/wagon/http/HttpWagonTestCase.java    | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/6c7b11dd/wagon-provider-test/src/main/java/org/apache/maven/wagon/http/HttpWagonTestCase.java
----------------------------------------------------------------------
diff --git a/wagon-provider-test/src/main/java/org/apache/maven/wagon/http/HttpWagonTestCase.java
b/wagon-provider-test/src/main/java/org/apache/maven/wagon/http/HttpWagonTestCase.java
index 53276e6..0c05ccd 100644
--- a/wagon-provider-test/src/main/java/org/apache/maven/wagon/http/HttpWagonTestCase.java
+++ b/wagon-provider-test/src/main/java/org/apache/maven/wagon/http/HttpWagonTestCase.java
@@ -573,8 +573,10 @@ public abstract class HttpWagonTestCase
         proxyInfo.setPassword( "secret" );
         AuthorizingProxyHandler handler = new AuthorizingProxyHandler();
 
-        ProxyInfoProvider proxyInfoProvider = new ProxyInfoProvider() {
-            public ProxyInfo getProxyInfo(String protocol) {
+        ProxyInfoProvider proxyInfoProvider = new ProxyInfoProvider()
+        {
+            public ProxyInfo getProxyInfo( String protocol )
+            {
                 return proxyInfo;
             }
         };
@@ -1143,11 +1145,11 @@ public abstract class HttpWagonTestCase
 
         proxyServer.start();
 
-        proxyInfoProvider.getProxyInfo(null).setPort( proxyServer.getConnectors()[0].getLocalPort()
);
+        proxyInfoProvider.getProxyInfo( null ).setPort( proxyServer.getConnectors()[0].getLocalPort()
);
 
-        System.out.println(
-            "start proxy on host/port " + proxyInfoProvider.getProxyInfo(null).getHost()
+ "/" + proxyInfoProvider.getProxyInfo(null).getPort() + " with non proxyHosts "
-                + proxyInfoProvider.getProxyInfo(null).getNonProxyHosts() );
+        System.out.println( "start proxy on host/port " + proxyInfoProvider.getProxyInfo(
null ).getHost() + "/"
+                                + proxyInfoProvider.getProxyInfo( null ).getPort() + " with
non proxyHosts "
+                                + proxyInfoProvider.getProxyInfo( null ).getNonProxyHosts()
);
 
         while ( !proxyServer.isRunning() || !proxyServer.isStarted() )
         {


Mime
View raw message