You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/05/05 23:35:18 UTC

svn commit: r1794116 - /httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java

Author: ggregory
Date: Fri May  5 23:35:18 2017
New Revision: 1794116

URL: http://svn.apache.org/viewvc?rev=1794116&view=rev
Log:
Format tweak.

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java?rev=1794116&r1=1794115&r2=1794116&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLBuffer.java Fri May  5 23:35:18 2017
@@ -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}.