cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1399170 - in /cxf/trunk: api/src/main/java/org/apache/cxf/feature/ rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/ rt/databinding/jibx/src/main/java/org/a...
Date Wed, 17 Oct 2012 09:58:10 GMT
Author: coheigea
Date: Wed Oct 17 09:58:09 2012
New Revision: 1399170

URL: http://svn.apache.org/viewvc?rev=1399170&view=rev
Log:
More code cleanup

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/feature/WrappedFeature.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementReader.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementWriter.java
    cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
    cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxNullBindingFactory.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
    cxf/trunk/rt/transports/udp/src/main/java/org/apache/cxf/transport/udp/UDPDestination.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
    cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/feature/WrappedFeature.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/feature/WrappedFeature.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/feature/WrappedFeature.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/feature/WrappedFeature.java Wed Oct 17 09:58:09
2012
@@ -32,7 +32,7 @@ import org.apache.cxf.interceptor.Interc
  * If you're simply adding interceptors to a Server, Client, or Bus, this allows you to add
  * them easily.
  */
-public class WrappedFeature extends AbstractFeature implements Feature {
+public class WrappedFeature extends AbstractFeature {
     final Feature wrapped;
     public WrappedFeature(Feature f) {
         wrapped = f;

Modified: cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementReader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementReader.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementReader.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementReader.java
Wed Oct 17 09:58:09 2012
@@ -39,7 +39,7 @@ import org.apache.cxf.staxutils.StaxUtil
  * 
  * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
  */
-public class ElementReader extends AbstractMessageReader implements MessageReader {
+public class ElementReader extends AbstractMessageReader {
     private static final Pattern QNAME_PATTERN = Pattern.compile("([^:]+):([^:]+)");
 
     private DepthXMLStreamReader root;

Modified: cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementWriter.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementWriter.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/ElementWriter.java
Wed Oct 17 09:58:09 2012
@@ -31,7 +31,7 @@ import org.apache.cxf.aegis.xml.MessageW
 import org.apache.cxf.common.util.StringUtils;
 import org.apache.cxf.staxutils.StaxUtils;
 
-public class ElementWriter extends AbstractMessageWriter implements MessageWriter {
+public class ElementWriter extends AbstractMessageWriter {
     private XMLStreamWriter writer;
 
     private String namespace;

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
Wed Oct 17 09:58:09 2012
@@ -973,7 +973,7 @@ public class DynamicClientFactory {
         }
         return clone;
     }
-    public class LocationFilterReader extends StreamReaderDelegate implements XMLStreamReader
{
+    public class LocationFilterReader extends StreamReaderDelegate {
         boolean isImport;
         boolean isInclude;
         int locIdx = -1;

Modified: cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxNullBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxNullBindingFactory.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxNullBindingFactory.java
(original)
+++ cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxNullBindingFactory.java
Wed Oct 17 09:58:09 2012
@@ -19,14 +19,13 @@
 
 package org.apache.cxf.jibx;
 
-import org.jibx.runtime.IBindingFactory;
 import org.jibx.runtime.impl.BindingFactoryBase;
 
 /**
  * Dummy binding factory for conversion of simple value conversion which do not require a
real JiBX binding.
  * This code was take from Axis2 JiBX code generation tool.
  */
-public final class JibxNullBindingFactory extends BindingFactoryBase implements IBindingFactory
{
+public final class JibxNullBindingFactory extends BindingFactoryBase {
 
     private static final String[] EMPTY_ARRAY = new String[0];
     private static JibxNullBindingFactory instance;

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java Wed
Oct 17 09:58:09 2012
@@ -21,7 +21,6 @@ package org.apache.cxf.jaxws;
 
 import java.io.Closeable;
 import java.io.IOException;
-import java.lang.reflect.InvocationHandler;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.net.HttpURLConnection;
@@ -62,7 +61,7 @@ import org.apache.cxf.service.invoker.Me
 import org.apache.cxf.service.model.BindingOperationInfo;
 
 public class JaxWsClientProxy extends org.apache.cxf.frontend.ClientProxy implements
-    InvocationHandler, BindingProvider {
+    BindingProvider {
 
     public static final String THREAD_LOCAL_REQUEST_CONTEXT = "thread.local.request.context";
     

Modified: cxf/trunk/rt/transports/udp/src/main/java/org/apache/cxf/transport/udp/UDPDestination.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/udp/src/main/java/org/apache/cxf/transport/udp/UDPDestination.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/transports/udp/src/main/java/org/apache/cxf/transport/udp/UDPDestination.java
(original)
+++ cxf/trunk/rt/transports/udp/src/main/java/org/apache/cxf/transport/udp/UDPDestination.java
Wed Oct 17 09:58:09 2012
@@ -45,7 +45,6 @@ import org.apache.cxf.workqueue.Automati
 import org.apache.cxf.workqueue.WorkQueueManager;
 import org.apache.cxf.ws.addressing.EndpointReferenceType;
 import org.apache.mina.core.buffer.IoBuffer;
-import org.apache.mina.core.service.IoHandler;
 import org.apache.mina.core.session.AttributeKey;
 import org.apache.mina.core.session.IdleStatus;
 import org.apache.mina.core.session.IoSession;
@@ -211,7 +210,7 @@ public class UDPDestination extends Abst
     }
     
     
-    class UDPIOHandler extends StreamIoHandler implements IoHandler {
+    class UDPIOHandler extends StreamIoHandler {
         
         
         @Override

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java
Wed Oct 17 09:58:09 2012
@@ -42,7 +42,6 @@ import org.apache.cxf.service.model.Endp
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.ws.policy.PolicyConstants;
 import org.apache.cxf.ws.policy.PolicyException;
-import org.apache.cxf.ws.policy.PolicyProvider;
 import org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider;
 import org.apache.cxf.ws.policy.attachment.reference.LocalDocumentReferenceResolver;
 import org.apache.cxf.ws.policy.attachment.reference.ReferenceResolver;
@@ -55,8 +54,7 @@ import org.springframework.core.io.Resou
  * 
  */
 @NoJSR250Annotations
-public class ExternalAttachmentProvider extends AbstractPolicyProvider
-    implements PolicyProvider {
+public class ExternalAttachmentProvider extends AbstractPolicyProvider {
     
     private static final ResourceBundle BUNDLE = BundleUtils.getBundle(ExternalAttachmentProvider.class);
     

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
Wed Oct 17 09:58:09 2012
@@ -46,7 +46,6 @@ import org.apache.cxf.service.model.Faul
 import org.apache.cxf.service.model.MessageInfo;
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.ws.policy.PolicyConstants;
-import org.apache.cxf.ws.policy.PolicyProvider;
 import org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider;
 import org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver;
 import org.apache.cxf.ws.policy.attachment.reference.ReferenceResolver;
@@ -61,8 +60,7 @@ import org.apache.neethi.PolicyReference
  * 
  */
 @NoJSR250Annotations
-public class Wsdl11AttachmentPolicyProvider extends AbstractPolicyProvider 
-    implements PolicyProvider {
+public class Wsdl11AttachmentPolicyProvider extends AbstractPolicyProvider {
     private static final Logger LOG = LogUtils.getL7dLogger(Wsdl11AttachmentPolicyProvider.class);
 
     public Wsdl11AttachmentPolicyProvider() {

Modified: cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java?rev=1399170&r1=1399169&r2=1399170&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
(original)
+++ cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
Wed Oct 17 09:58:09 2012
@@ -124,7 +124,7 @@ import org.apache.ws.commons.schema.XmlS
 public class JAXBDataBinding implements DataBindingProfile {
 
 
-    public class LocationFilterReader extends StreamReaderDelegate implements XMLStreamReader
{
+    public class LocationFilterReader extends StreamReaderDelegate {
         boolean isImport;
         boolean isInclude;
         int locIdx = -1;



Mime
View raw message