hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1717504 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/hc/core5/http/entity/ByteBufferEntity.java
Date Tue, 01 Dec 2015 19:22:10 GMT
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;



Mime
View raw message