hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [48/50] httpcomponents-core git commit: Tab police
Date Tue, 09 May 2017 20:03:39 GMT
Tab police

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.2.x@1507133
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/c1943097
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/c1943097
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/c1943097

Branch: refs/heads/4.2.x
Commit: c1943097b77c197b95aeda97089cfe8e39ad2431
Parents: f22047e
Author: Sebastian Bazley <sebb@apache.org>
Authored: Thu Jul 25 21:24:24 2013 +0000
Committer: Sebastian Bazley <sebb@apache.org>
Committed: Thu Jul 25 21:24:24 2013 +0000

----------------------------------------------------------------------
 .../org/apache/http/nio/reactor/ssl/SSLIOSession.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c1943097/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
b/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
index c579e14..5c5837e 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
@@ -623,11 +623,11 @@ public class SSLIOSession implements IOSession, SessionBufferStatus,
SocketAcces
     }
     
     public Socket getSocket(){
-    	if (this.session instanceof SocketAccessor){
-    		return ((SocketAccessor) this.session).getSocket();
-    	} else {
-    		return null;
-    	}
+        if (this.session instanceof SocketAccessor){
+            return ((SocketAccessor) this.session).getSocket();
+        } else {
+            return null;
+        }
     }
 
     private class InternalByteChannel implements ByteChannel {


Mime
View raw message