cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6593] Minor update
Date Tue, 15 Sep 2015 11:44:15 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 9b52e410b -> e4f6f793c


[CXF-6593] Minor update


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

Branch: refs/heads/master
Commit: e4f6f793ca8c067de3bb89dc86e3571e0626c942
Parents: 9b52e41
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Sep 15 12:43:59 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Sep 15 12:43:59 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e4f6f793/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
index fb62c19..805bfa3 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
@@ -203,7 +203,7 @@ public abstract class AbstractResourceInfo {
     }
     
     @SuppressWarnings("unchecked")
-    private <T> Map<Class<?>, Map<T, ThreadLocalProxy<?>>>
getProxyMap(Class<T> keyCls, String prop, boolean create) {
+    private <T> Map<Class<?>, Map<T, ThreadLocalProxy<?>>>
getProxyMap(String prop, boolean create) {
         Object property = null;
         synchronized (bus) {
             property = bus.getProperty(prop);
@@ -238,11 +238,11 @@ public abstract class AbstractResourceInfo {
     }
     
     private Map<Class<?>, Map<Field, ThreadLocalProxy<?>>> getFieldProxyMap(boolean
create) {
-        return getProxyMap(Field.class, FIELD_PROXY_MAP, create);
+        return getProxyMap(FIELD_PROXY_MAP, create);
     }
     
     private Map<Class<?>, Map<Method, ThreadLocalProxy<?>>> getSetterProxyMap(boolean
create) {
-        return getProxyMap(Method.class, SETTER_PROXY_MAP, create);
+        return getProxyMap(SETTER_PROXY_MAP, create);
     }
     
     private void findContextSetterMethods(Class<?> cls, Object provider) {


Mime
View raw message