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 2015/12/01 20:22:10 UTC

svn commit: r1717504 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java

Author: ggregory
Date: Tue Dec  1 19:22:10 2015
New Revision: 1717504

URL: http://svn.apache.org/viewvc?rev=1717504&view=rev
Log:
Add missing '@Override' annotations.

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java?rev=1717504&r1=1717503&r2=1717504&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java Tue Dec  1 19:22:10 2015
@@ -51,6 +51,7 @@ public class ByteBufferEntity extends Ab
             buffer.position(0);
         }
 
+        @Override
         public int read() throws IOException {
             if (!buffer.hasRemaining()) {
                 return -1;
@@ -58,6 +59,7 @@ public class ByteBufferEntity extends Ab
             return buffer.get() & 0xFF;
         }
 
+        @Override
         public int read(final byte[] bytes, final int off, final int len) throws IOException {
             if (!buffer.hasRemaining()) {
                 return -1;