hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1616233 - /httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
Date Wed, 06 Aug 2014 13:52:23 GMT
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
             }



Mime
View raw message