cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] git commit: CXF-5610 Polished the code of JettyHTTPServerEngine
Date Fri, 14 Mar 2014 12:51:27 GMT
CXF-5610 Polished the code of JettyHTTPServerEngine


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4a66aeca
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4a66aeca
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4a66aeca

Branch: refs/heads/2.7.x-fixes
Commit: 4a66aecadf6a0fbff5c7525882bba2f3ca6362c8
Parents: 30ee117
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Fri Mar 14 16:51:12 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Mar 14 20:34:22 2014 +0800

----------------------------------------------------------------------
 .../apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4a66aeca/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
index ac571aa..4b6070b 100644
--- a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
+++ b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
@@ -22,8 +22,8 @@ package org.apache.cxf.transport.http_jetty;
 import java.io.IOException;
 import java.net.URL;
 import java.security.GeneralSecurityException;
-import java.util.ArrayList;
 import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
@@ -118,7 +118,7 @@ public class JettyHTTPServerEngine
      */
     private boolean configFinalized;
     
-    private List<String> registedPaths = new ArrayList<String>();
+    private List<String> registedPaths = new CopyOnWriteArrayList<String>();
         
     /**
      * This constructor is called by the JettyHTTPServerEngineFactory.


Mime
View raw message