cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1090249 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
Date Fri, 08 Apr 2011 13:50:08 GMT
Author: sergeyb
Date: Fri Apr  8 13:50:07 2011
New Revision: 1090249

URL: http://svn.apache.org/viewvc?rev=1090249&view=rev
Log:
[CXF-3446] Blocking enum.getDeclaringClass

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java?rev=1090249&r1=1090248&r2=1090249&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
Fri Apr  8 13:50:07 2011
@@ -911,7 +911,9 @@ public final class InjectionUtils {
                     propertyName = propertyName.substring(0, 1).toLowerCase()
                                    + propertyName.substring(1);
                 }
-                if (baseName.contains(propertyName) || "class".equals(propertyName)) {
+                if (baseName.contains(propertyName) 
+                    || "class".equals(propertyName)
+                    || "declaringClass".equals(propertyName)) {
                     continue;
                 }
                 if (!"".equals(baseName)) {



Mime
View raw message