cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [4/5] git commit: CXF-5610 Polished the code of JettyHTTPServerEngine
Date Fri, 14 Mar 2014 12:18:18 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/38d1f492
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/38d1f492
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/38d1f492

Branch: refs/heads/master
Commit: 38d1f492aff5796205d4334b16d6ba6154773f4e
Parents: e8aced6
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:16:47 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/38d1f492/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