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 14:37: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/9f958fcd
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9f958fcd
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9f958fcd

Branch: refs/heads/2.6.x-fixes
Commit: 9f958fcd1a8d557b2bb112e0b9440f7ba3fdd576
Parents: ab80d8d
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 22:35:46 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/9f958fcd/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 35c65f5..37f0779 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