cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ulhasbh...@apache.org
Subject svn commit: r561572 - in /incubator/cxf/trunk: rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java
Date Tue, 31 Jul 2007 22:11:11 GMT
Author: ulhasbhole
Date: Tue Jul 31 15:11:10 2007
New Revision: 561572

URL: http://svn.apache.org/viewvc?view=rev&rev=561572
Log:
* Minor cleanup and removal of unnecessary typecast.


Modified:
    incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java

Modified: incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java?view=diff&rev=561572&r1=561571&r2=561572
==============================================================================
--- incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java
Tue Jul 31 15:11:10 2007
@@ -38,7 +38,7 @@
         
         while (iter.hasNext()) {
             Header hdr  = (Header) iter.next();
-            //ubhole: Only remove inbound marked headers..
+            //Only remove inbound marked headers..
             if (hdr.getDirection() == Header.Direction.DIRECTION_IN) {
                 iter.remove(); 
             }

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java?view=diff&rev=561572&r1=561571&r2=561572
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/outofband/header/OOBHdrServiceImpl.java
Tue Jul 31 15:11:10 2007
@@ -80,7 +80,7 @@
                             job, 
                             new JAXBDataBinding(ob.getClass()));
                     List<Header> hdrList = CastUtils.cast((List<?>) ctx.get(Header.HEADER_LIST));
-                    hdrList.add((Header) hdr);
+                    hdrList.add(hdr);
                     //Add headerHolder to requestContext.
 //                    ctx.put(Header.HEADER_LIST, hdrList);
                     //System.out.println("Completed adding list to context");



Mime
View raw message