hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1603150 - /httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
Date Tue, 17 Jun 2014 12:36:03 GMT
Author: olegk
Date: Tue Jun 17 12:36:02 2014
New Revision: 1603150

URL: http://svn.apache.org/r1603150
Log:
Fixed compilation failure caused by incompatibility with Java 1.5

Modified:
    httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java

Modified: httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java?rev=1603150&r1=1603149&r2=1603150&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
(original)
+++ httpcomponents/httpasyncclient/branches/4.0.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPoolProxy.java
Tue Jun 17 12:36:02 2014
@@ -78,7 +78,6 @@ class CPoolProxy implements ManagedNHttp
         return conn;
     }
 
-    @Override
     public void close() throws IOException {
         final CPoolEntry local = this.poolEntry;
         if (local != null) {
@@ -86,7 +85,6 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public void shutdown() throws IOException {
         final CPoolEntry local = this.poolEntry;
         if (local != null) {
@@ -94,12 +92,10 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public HttpConnectionMetrics getMetrics() {
         return getValidConnection().getMetrics();
     }
 
-    @Override
     public void requestInput() {
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
@@ -107,7 +103,6 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public void suspendInput() {
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
@@ -115,7 +110,6 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public void requestOutput() {
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
@@ -123,7 +117,6 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public void suspendOutput() {
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
@@ -131,27 +124,22 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public InetAddress getLocalAddress() {
         return getValidConnection().getLocalAddress();
     }
 
-    @Override
     public int getLocalPort() {
         return getValidConnection().getLocalPort();
     }
 
-    @Override
     public InetAddress getRemoteAddress() {
         return getValidConnection().getRemoteAddress();
     }
 
-    @Override
     public int getRemotePort() {
         return getValidConnection().getRemotePort();
     }
 
-    @Override
     public boolean isOpen() {
         final CPoolEntry local = this.poolEntry;
         if (local != null) {
@@ -161,7 +149,6 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public boolean isStale() {
         final NHttpClientConnection conn = getConnection();
         if (conn != null) {
@@ -171,52 +158,42 @@ class CPoolProxy implements ManagedNHttp
         }
     }
 
-    @Override
     public void setSocketTimeout(final int i) {
         getValidConnection().setSocketTimeout(i);
     }
 
-    @Override
     public int getSocketTimeout() {
         return getValidConnection().getSocketTimeout();
     }
 
-    @Override
     public void submitRequest(final HttpRequest request) throws IOException, HttpException
{
         getValidConnection().submitRequest(request);
     }
 
-    @Override
     public boolean isRequestSubmitted() {
         return getValidConnection().isRequestSubmitted();
     }
 
-    @Override
     public void resetOutput() {
         getValidConnection().resetOutput();
     }
 
-    @Override
     public void resetInput() {
         getValidConnection().resetInput();
     }
 
-    @Override
     public int getStatus() {
         return getValidConnection().getStatus();
     }
 
-    @Override
     public HttpRequest getHttpRequest() {
         return getValidConnection().getHttpRequest();
     }
 
-    @Override
     public HttpResponse getHttpResponse() {
         return getValidConnection().getHttpResponse();
     }
 
-    @Override
     public HttpContext getContext() {
         return getValidConnection().getContext();
     }
@@ -244,22 +221,18 @@ class CPoolProxy implements ManagedNHttp
         return getProxy(proxy).detach();
     }
 
-    @Override
     public String getId() {
         return getValidConnection().getId();
     }
 
-    @Override
     public void bind(final IOSession iosession) {
         getValidConnection().bind(iosession);
     }
 
-    @Override
     public IOSession getIOSession() {
         return getValidConnection().getIOSession();
     }
 
-    @Override
     public SSLSession getSSLSession() {
         return getValidConnection().getSSLSession();
     }



Mime
View raw message