maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [2/2] git commit: formatting code
Date Fri, 25 Oct 2013 03:35:29 GMT
formatting code


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

Branch: refs/heads/master
Commit: e476306f1fd8d85f8555d0017bbdec5c68fe5a51
Parents: 0544394
Author: Olivier Lamy <olamy@apache.org>
Authored: Fri Oct 25 14:35:11 2013 +1100
Committer: Olivier Lamy <olamy@apache.org>
Committed: Fri Oct 25 14:35:11 2013 +1100

----------------------------------------------------------------------
 .../providers/ssh/jsch/AbstractJschWagon.java   | 22 +++++++++++---------
 1 file changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/e476306f/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
----------------------------------------------------------------------
diff --git a/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
b/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
index 01d8dd3..cc0e041 100644
--- a/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
+++ b/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
@@ -73,23 +73,21 @@ import com.jcraft.jsch.UIKeyboardInteractive;
 import com.jcraft.jsch.UserInfo;
 
 /**
- * AbstractJschWagon 
- *
- *
+ * AbstractJschWagon
  */
 public abstract class AbstractJschWagon
     extends StreamWagon
     implements SshWagon, CommandExecutor
 {
     protected ScpHelper sshTool = new ScpHelper( this );
-    
+
     protected Session session;
-    
+
     /**
      * @plexus.requirement role-hint="file"
      */
     private volatile KnownHostsProvider knownHostsProvider;
-    
+
     /**
      * @plexus.requirement
      */
@@ -130,13 +128,17 @@ public abstract class AbstractJschWagon
             throw new AuthenticationException( e.getMessage() );
         }
 
-        try {
+        try
+        {
             Connector connector = ConnectorFactory.getDefault().createConnector();
-            if ( connector != null ) {
+            if ( connector != null )
+            {
                 IdentityRepository repo = new RemoteIdentityRepository( connector );
                 sch.setIdentityRepository( repo );
             }
-        } catch ( AgentProxyException e ) {
+        }
+        catch ( AgentProxyException e )
+        {
             fireSessionDebug( "Unable to connect to agent: " + e.toString() );
         }
 
@@ -238,7 +240,7 @@ public abstract class AbstractJschWagon
         {
             config.setProperty( "PreferredAuthentications", "gssapi-with-mic,publickey,password,keyboard-interactive"
);
         }
-        
+
         config.setProperty( "BatchMode", interactive ? "no" : "yes" );
 
         session.setConfig( config );


Mime
View raw message