cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jp...@apache.org
Subject svn commit: r1413574 - in /cxf/trunk/api/src/main/java/org/apache/cxf/interceptor: AbstractInDatabindingInterceptor.java AbstractOutDatabindingInterceptor.java
Date Mon, 26 Nov 2012 12:27:37 GMT
Author: jpell
Date: Mon Nov 26 12:27:36 2012
New Revision: 1413574

URL: http://svn.apache.org/viewvc?rev=1413574&view=rev
Log:
CXF-4610 cleanup of some misleading comments

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java
    cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java?rev=1413574&r1=1413573&r2=1413574&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java
(original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java
Mon Nov 26 12:27:36 2012
@@ -246,7 +246,7 @@ public abstract class AbstractInDatabind
             message.put(Message.WSDL_OPERATION, operation.getName());
         }
 
-        // configure endpoint and operation level schema validation based on annotations
+        // configure endpoint and operation level schema validation
         setOperationSchemaValidation(operation.getOperationInfo(), message);
         
         QName serviceQName = si.getName();

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.java?rev=1413574&r1=1413573&r2=1413574&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.java
(original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/AbstractOutDatabindingInterceptor.java
Mon Nov 26 12:27:36 2012
@@ -72,8 +72,7 @@ public abstract class AbstractOutDatabin
         XMLStreamWriter xmlWriter = origXmlWriter;
         CachingXmlEventWriter cache = null;
         
-        // configure endpoint and operation level schema validation based on
-        // annotations
+        // configure endpoint and operation level schema validation
         setOperationSchemaValidation(operation.getOperationInfo(), message);
         
         Object en = message.getContextualProperty(OUT_BUFFERING);
@@ -138,7 +137,7 @@ public abstract class AbstractOutDatabin
     
     /**
      * Where an operation level validation type has been set, copy it to the message, so
it can be interrogated
-     * by all downstream interceptors and update the DataReader with the schema.
+     * by all downstream interceptors
      * 
      * @param bop
      * @param message
@@ -196,12 +195,6 @@ public abstract class AbstractOutDatabin
 
     /**
      * Based on the Schema Validation configuration, will initialise the DataWriter with
or without the schema set.
-     * 
-     * Can also be called to override schema validation at operation level, thus the writer.setSchema(null)
-     * to remove schema validation
-     * 
-     * Note this is different to the reader side, as we know the binding operation info up
front, so won't
-     * need to overwrite the service level schema validation.
      */
     private void setDataWriterValidation(Service service, Message message, DataWriter<?>
writer) {
         if (shouldValidate(message)) {



Mime
View raw message