cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r719368 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Date Thu, 20 Nov 2008 20:50:58 GMT
Author: dkulp
Date: Thu Nov 20 12:50:58 2008
New Revision: 719368

URL: http://svn.apache.org/viewvc?rev=719368&view=rev
Log:
Fix pmd error

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

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?rev=719368&r1=719367&r2=719368&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java Thu
Nov 20 12:50:58 2008
@@ -164,7 +164,7 @@
     public JAXBDataBinding(Class<?>... classes) throws JAXBException {
         contextClasses = new LinkedHashSet<Class<?>>();
         contextClasses.addAll(Arrays.asList(classes));
-        setContext(createJAXBContext(contextClasses));
+        setContext(createJAXBContext(contextClasses)); //NOPMD - specifically allow this
     }
 
     public JAXBDataBinding(JAXBContext context) {
@@ -176,7 +176,7 @@
         return context;
     }
 
-    public void setContext(JAXBContext ctx) {
+    public final void setContext(JAXBContext ctx) {
         context = ctx;
     }
 



Mime
View raw message