hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [42/50] httpcomponents-core git commit: Format tweak.
Date Tue, 09 May 2017 20:02:08 GMT
Format tweak.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794116
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/4d545174
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/4d545174
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/4d545174

Branch: refs/heads/4.4.x
Commit: 4d545174f596ba58a1bcdded955ad700873ee261
Parents: 6b592d5
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Fri May 5 23:35:18 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Fri May 5 23:35:18 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/4d545174/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java b/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java
index 6ce8653..fd75694 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java
@@ -32,6 +32,7 @@ import java.nio.ByteBuffer;
  * Managed internal SSL buffer.
  */
 public interface SSLBuffer {
+
     /**
      * Allocates the resources required for this buffer, or returns the resources already
allocated for this buffer.
      * Unless {@link #release() } is called, multiple invokations to this method must return
the same
@@ -39,15 +40,18 @@ public interface SSLBuffer {
      * @return buffer
      */
     ByteBuffer acquire();
+
     /**
      * Releases the resources for this buffer. If the buffer has already been released, this
method does nothing.
      */
     void release();
+
     /**
      * Tests to see if this buffer has been acquired.
      * @return {@code true} if the buffer is acquired, otherwise {@code false}
      */
     boolean isAcquired();
+
     /**
      * Tests to make sure that the buffer has been acquired and the underlying buffer has
a position larger than
      * {@code 0}. Essentially the same as {@code isAquired() && acquire().position
> 0}.


Mime
View raw message