You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2014/08/06 15:52:23 UTC

svn commit: r1616233 - /httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java

Author: olegk
Date: Wed Aug  6 13:52:22 2014
New Revision: 1616233

URL: http://svn.apache.org/r1616233
Log:
Fixed Java 5 source compatibility

Modified:
    httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java

Modified: httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java?rev=1616233&r1=1616232&r2=1616233&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java (original)
+++ httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java Wed Aug  6 13:52:22 2014
@@ -309,18 +309,15 @@ public class TestHttpAsyncPrematureTermi
 
         final HttpAsyncResponseConsumer<?> consumer = new HttpAsyncResponseConsumer<Object>() {
 
-            @Override
             public void close() throws IOException {
                 closed.set(true);
             }
 
-            @Override
             public boolean cancel() {
                 cancelled.set(true);
                 return false;
             }
 
-            @Override
             public void failed(final Exception ex) {
                 failed.set(true);
             }
@@ -347,7 +344,6 @@ public class TestHttpAsyncPrematureTermi
                 return null;
             }
 
-            @Override
             public boolean isDone() {
                 return false;
             }
@@ -387,18 +383,15 @@ public class TestHttpAsyncPrematureTermi
 
         final HttpAsyncResponseConsumer<?> consumer = new HttpAsyncResponseConsumer<Object>() {
 
-            @Override
             public void close() throws IOException {
                 closed.set(true);
             }
 
-            @Override
             public boolean cancel() {
                 cancelled.set(true);
                 return false;
             }
 
-            @Override
             public void failed(final Exception ex) {
                 failed.set(true);
             }
@@ -422,7 +415,6 @@ public class TestHttpAsyncPrematureTermi
                 return null;
             }
 
-            @Override
             public boolean isDone() {
                 return true; // cancels fetching the response-body
             }