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 2017/08/30 20:38:24 UTC

httpcomponents-core git commit: Remove unnecessary semicolons.

Repository: httpcomponents-core
Updated Branches:
  refs/heads/4.4.x 271c053d4 -> 9b6a90461


Remove unnecessary semicolons.

Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/9b6a9046
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/9b6a9046
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/9b6a9046

Branch: refs/heads/4.4.x
Commit: 9b6a90461d2995f4b91702b20d2ae222f116bc29
Parents: 271c053
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Aug 30 14:38:21 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed Aug 30 14:38:21 2017 -0600

----------------------------------------------------------------------
 .../org/apache/http/examples/nio/NHttpReverseProxy.java        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/9b6a9046/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java b/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
index 3e04f5b..e685262 100644
--- a/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
+++ b/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
@@ -487,7 +487,7 @@ public class NHttpReverseProxy {
 
         public void requestCompleted(final HttpContext context) {
             synchronized (this.httpExchange) {
-                this.completed = true;;
+                this.completed = true;
                 System.out.println("[client->proxy] " + this.httpExchange.getId() + " request completed");
                 this.httpExchange.setRequestReceived();
                 if (this.httpExchange.getOriginIOControl() != null) {
@@ -797,7 +797,7 @@ public class NHttpReverseProxy {
             return keepAlive;
         }
 
-    };
+    }
 
     static class ProxyOutgoingConnectionReuseStrategy extends DefaultConnectionReuseStrategy {
 
@@ -812,7 +812,7 @@ public class NHttpReverseProxy {
             return keepAlive;
         }
 
-    };
+    }
 
     static class ProxyServiceHandler extends HttpAsyncService {