cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Using a linked hash map to store JAX-RS providers in ConfigurationImpl
Date Fri, 05 Sep 2014 09:26:55 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes a588526b9 -> 9cb7b0e97


Using a linked hash map to store JAX-RS providers in ConfigurationImpl


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

Branch: refs/heads/3.0.x-fixes
Commit: 9cb7b0e9703614c959930b9436cb08f873908f3d
Parents: a588526
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Sep 5 10:25:27 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Sep 5 10:26:36 2014 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9cb7b0e9/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java
index fadb098..fa29eb0 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ConfigurationImpl.java
@@ -22,6 +22,7 @@ import java.util.Collection;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
+import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Set;
 
@@ -35,8 +36,8 @@ public class ConfigurationImpl implements Configuration {
     private Map<String, Object> props = new HashMap<String, Object>();
     private RuntimeType runtimeType;
     private Map<Object, Map<Class<?>, Integer>> providers = 
-        new HashMap<Object, Map<Class<?>, Integer>>(); 
-    private Map<Feature, Boolean> features = new HashMap<Feature, Boolean>();
+        new LinkedHashMap<Object, Map<Class<?>, Integer>>(); 
+    private Map<Feature, Boolean> features = new LinkedHashMap<Feature, Boolean>();
     
     public ConfigurationImpl(RuntimeType rt) {
         this.runtimeType = rt;


Mime
View raw message