cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r616069 - /incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
Date Mon, 28 Jan 2008 21:52:58 GMT
Author: dkulp
Date: Mon Jan 28 13:52:56 2008
New Revision: 616069

URL: http://svn.apache.org/viewvc?rev=616069&view=rev
Log:
Fix processing of the various accesstypes 

Modified:
    incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java

Modified: incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java?rev=616069&r1=616068&r2=616069&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
(original)
+++ incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
Mon Jan 28 13:52:56 2008
@@ -222,7 +222,8 @@
             return false;
         }
 
-        if (accessType == XmlAccessType.NONE) {
+        if (accessType == XmlAccessType.NONE
+            || accessType == XmlAccessType.PROPERTY) {
             return checkJaxbAnnotation(field.getAnnotations());
         } else {
             return true;
@@ -264,7 +265,8 @@
             return false;
         }
 
-        if (accessType == XmlAccessType.NONE) {
+        if (accessType == XmlAccessType.NONE
+            || accessType == XmlAccessType.FIELD) {
             return checkJaxbAnnotation(method.getAnnotations());
         } else {
             return true;



Mime
View raw message