cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r768938 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java
Date Mon, 27 Apr 2009 11:47:44 GMT
Author: sergeyb
Date: Mon Apr 27 11:47:44 2009
New Revision: 768938

URL: http://svn.apache.org/viewvc?rev=768938&view=rev
Log:
JAXRS: no need for MethodDispatcher to use ConcurrentHashMap

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java?rev=768938&r1=768937&r2=768938&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/MethodDispatcher.java
Mon Apr 27 11:47:44 2009
@@ -19,17 +19,16 @@
 package org.apache.cxf.jaxrs.model;
 
 import java.lang.reflect.Method;
-
+import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Set;
-import java.util.concurrent.ConcurrentHashMap;
 
 
 public class MethodDispatcher {
     private Map<OperationResourceInfo, Method> oriToMethod = 
-        new ConcurrentHashMap<OperationResourceInfo, Method>();
+        new LinkedHashMap<OperationResourceInfo, Method>();
     private Map<Method, OperationResourceInfo> methodToOri = 
-        new ConcurrentHashMap<Method, OperationResourceInfo>();
+        new LinkedHashMap<Method, OperationResourceInfo>();
 
     public void bind(OperationResourceInfo o, Method... methods) {
         Method primary = methods[0];



Mime
View raw message