cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1228848 [1/5] - in /cxf/trunk: api/src/main/java/org/apache/cxf/message/ api/src/main/java/org/apache/cxf/service/model/ api/src/main/java/org/apache/cxf/ws/addressing/ api/src/main/java/org/apache/cxf/wsdl/ api/src/test/java/org/apache/cx...
Date Sun, 08 Jan 2012 13:59:46 GMT
Author: dkulp
Date: Sun Jan  8 13:59:37 2012
New Revision: 1228848

URL: http://svn.apache.org/viewvc?rev=1228848&view=rev
Log:
By proper use of generics, a bunch of casts are not needed.

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/message/MessageUtils.java
    cxf/trunk/api/src/main/java/org/apache/cxf/service/model/EndpointInfo.java
    cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/WSAContextUtils.java
    cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
    cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/PrettyPrintXMLStreamWriter.java
    cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilderTest.java
    cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionTest.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/classloader/FireWallClassLoader.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/Log4jLogger.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ParamReader.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanQNameMap.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/WSDLHelper.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/XMLUtils.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
    cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/W3CDOMStreamReader.java
    cxf/trunk/common/common/src/test/java/org/apache/cxf/common/annotation/AnnotationProcessorTest.java
    cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionImpl.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImpl.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/handlers/CXFInvocationHandlerBase.java
    cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/JCABusFactoryTest.java
    cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/AbstractInvocationHandlerTest.java
    cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ObjectMethodInvocationHandlerTest.java
    cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ProxyInvocationHandlerTest.java
    cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo.java
    cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2js/WSDL2JavaScriptMojo.java
    cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java
    cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java
    cxf/trunk/maven-plugins/wadl2java-plugin/src/main/java/org/apache/cxf/maven_plugin/wadlto/AbstractCodeGeneratorMojo.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaConduit.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaDestination.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultInInterceptor.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultOutInterceptor.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamInInterceptor.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamOutInterceptor.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaDSIServant.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaObjectWriter.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaStreamWriter.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionEventProducer.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionHandler.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaObjectReferenceHelper.java
    cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaUtils.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/CorbaConduitTest.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/CorbaServerConduitTest.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/TestUtils.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/runtime/CorbaObjectReaderTest.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/types/CorbaEnumHandlerTest.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/types/CorbaFixedHandlerTest.java
    cxf/trunk/rt/bindings/corba/src/test/java/org/apache/cxf/binding/corba/types/CorbaHandlerUtilsTest.java
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionInInterceptor.java
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapHeaderOutFilterInterceptor.java
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapPreProtocolOutInterceptor.java
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/model/SoapBindingInfo.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/RPCInInterceptorTest.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/ReadHeaderInterceptorTest.java
    cxf/trunk/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapOutInterceptorTest.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/BindingFactoryManagerImpl.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/blueprint/ConfigurerImpl.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/ManagedWorkQueueList.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/configuration/spring/ConfigurerImpl.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractInDatabindingInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/BareInInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientFaultConverter.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxInInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/URIMappingInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/workqueue/AutomaticWorkQueueImpl.java
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceBuilder.java
    cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/extension/ExtensionTest.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/AegisXMLStreamDataWriter.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BeanType.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/XMLBeanTypeInfo.java
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/xml/SourceType.java
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/AnnotatedTypeTest.java
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/JaxbTypeTest.java
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/XFireTypeTest.java
    cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/BareInInterceptorTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/DocLiteralInInterceptorTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBWrapperHelperTest.java
    cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxSimpleTypes.java
    cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/JibxUtil.java
    cxf/trunk/rt/databinding/sdo/src/main/java/org/apache/cxf/sdo/tools/SDODatabinding.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/ServerWebApplicationException.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/cors/CrossOriginResourceSharingFilter.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/SecurityContextImpl.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/ClassResourceInfo.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/OperationResourceInfo.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/SourceProvider.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider.java
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBeanTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/model/wadl/WadlGeneratorTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingJSONProviderTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/JAXBElementProviderTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProviderTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/XPathProviderTest.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/resources/sdo/impl/SdoFactoryImpl.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointReferenceBuilder.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodDispatcher.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerOutInterceptor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalMessageImpl.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerFaultOutInterceptor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spring/JaxWsWebServicePublisherBeanPostProcessor.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
    cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/SOAPBindingTest.java
    cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/ServiceImplTest.java
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetUtils.java
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/DefaultServiceConfiguration.java
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
    cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
    cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsSimpleDomNode.java
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/jmx/export/runtime/ModelMBeanInfoSupporter.java
    cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/utils/ManagementConsole.java
    cxf/trunk/rt/management/src/test/java/org/apache/cxf/management/InstrumentationManagerTest.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HttpServletRequestSnapshot.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/uri/JMSEndpoint.java
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/uri/JMSEndpointParser.java
    cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
    cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
    cxf/trunk/rt/ws/addr/src/test/java/org/apache/cxf/ws/addressing/MAPAggregatorTest.java
    cxf/trunk/rt/ws/addr/src/test/java/org/apache/cxf/ws/addressing/soap/MAPCodecTest.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EndpointPolicyImpl.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyUtils.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/AbstractPolicyProvider.java
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/external/ExternalAttachmentProvider.java
    cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/EndpointPolicyImplTest.java
    cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/NormalizeTest.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/AsymmetricBindingBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/InitiatorEncryptionTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/InitiatorSignatureTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/InitiatorTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/IssuedTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/ProtectionTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/RecipientEncryptionTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/RecipientSignatureTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/RecipientTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/SupportingTokens12Builder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/SupportingTokensBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/SymmetricBindingBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/TransportTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/UsernameTokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/builders/X509TokenBuilder.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AuthPolicyValidatingInterceptor.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/SymmetricBindingHandler.java
    cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
    cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java
    cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
    cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/request/ReceivedToken.java
    cxf/trunk/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/SCTValidator.java
    cxf/trunk/services/wsn/wsn-core/src/main/java/org/apache/cxf/wsn/AbstractNotificationBroker.java
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/mtom/MtomTest.java
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jaxb/TestServiceTest.java
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSMultipartTest.java
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/MultipartStore.java
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jaxws/BookSoapService.java
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/sdo/impl/SdoFactoryImpl.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/AddNumbersServiceWithAnnotation.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/HandlerInvocationTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/HandlerInvocationUsingAddNumbersTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/HandlerTestServiceWithAnnotation.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/SpringConfiguredAutoRewriteSoapAddressTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/SpringConfiguredHandlerTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/SpringConfiguredNoAutoRewriteSoapAddressTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerXMLTest.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/HelloService.java
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/provider/AttachmentStreamSourceXMLProvider.java
    cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/HelloContinuationService.java
    cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java
    cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/continuations/HelloContinuationService.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/corba/CorbaBindingFactoryConfigurerTest.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/ManualHttpMulitplexClientServerTest.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexClientServerTest.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/factory_pattern/MultiplexHttpAddressClientServerTest.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/rest/RestClientServerBookTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/AddressingAnonymousPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/AddressingInlinePolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/AddressingOptionalPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/AddressingPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/HTTPClientPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/HTTPServerPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/RMPolicyTest.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/RMPolicyWsdlTest.java
    cxf/trunk/testutils/src/main/java/org/apache/cxf/customer/book/BookServiceImpl.java
    cxf/trunk/testutils/src/main/java/org/apache/cxf/customer/book/BookServiceWrappedImpl.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandDocument.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/Option.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/AnnotationUtil.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/JAXBUtils.java
    cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java
    cxf/trunk/tools/corba/src/main/generated/org/apache/cxf/tools/corba/processors/idl/IDLLexer.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlRoot.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlScopeBase.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/ScopeNameCollection.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/ScopedNameVisitor.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLParameter.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
    cxf/trunk/tools/corba/src/test/java/org/apache/cxf/tools/corba/common/CorbaPrimitiveMapTest.java
    cxf/trunk/tools/corba/src/test/java/org/apache/cxf/tools/corba/processors/WSDLToCorbaBindingTest.java
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2wsdl/processor/internal/AntGenerator.java
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2wsdl/processor/internal/SpringServiceBuilderFactory.java
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JAXWSFrontEndProcessor.java
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/generator/JaxwsClientGenerator.java
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/generator/JaxwsServerGenerator.java
    cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/WSDL11Validator.java
    cxf/trunk/tools/wadlto/jaxrs/src/main/java/org/apache/cxf/tools/wadlto/jaxb/CustomizationParser.java
    cxf/trunk/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSBindingParser.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/AntGenerator.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ProcessorUtil.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/validator/WrapperStyleNameCollisionValidator.java
    cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/WSDLToServiceProcessor.java
    cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java
    cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSContainerTest.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/message/MessageUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/message/MessageUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/message/MessageUtils.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/message/MessageUtils.java Sun Jan  8 13:59:37 2012
@@ -41,7 +41,7 @@ public final class MessageUtils {
      */
     public static boolean isOutbound(Message message) {
         Exchange exchange = message.getExchange();
-        return message != null && exchange != null
+        return exchange != null
                && (message == exchange.getOutMessage() || message == exchange.getOutFaultMessage());
     }
 

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/service/model/EndpointInfo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/service/model/EndpointInfo.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/service/model/EndpointInfo.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/service/model/EndpointInfo.java Sun Jan  8 13:59:37 2012
@@ -102,7 +102,7 @@ public class EndpointInfo extends Abstra
         T value = getExtensor(type);
         
         if (value == null) {
-            if (value == null && binding != null) {
+            if (binding != null) {
                 value = binding.getExtensor(type);
             }
             

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/WSAContextUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/WSAContextUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/WSAContextUtils.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/ws/addressing/WSAContextUtils.java Sun Jan  8 13:59:37 2012
@@ -60,7 +60,7 @@ public final class WSAContextUtils {
      */   
     public static boolean retrieveUsingAddressing(Message message) {
         Boolean override = (Boolean)message.get(USING_PROPERTY);
-        return override == null || (override != null && override.booleanValue());
+        return override == null || override.booleanValue();
     }
 
     /**

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java Sun Jan  8 13:59:37 2012
@@ -1064,7 +1064,7 @@ public final class EndpointReferenceUtil
     private static MultiplexDestination getMatchingMultiplexDestination(QName serviceQName, String portName,
                                                                         Bus bus) {
         MultiplexDestination destination = null;
-        ServerRegistry serverRegistry = (ServerRegistry)bus.getExtension(ServerRegistry.class);
+        ServerRegistry serverRegistry = bus.getExtension(ServerRegistry.class);
         if (null != serverRegistry) {
             List<Server> servers = serverRegistry.getServers();
             for (Server s : servers) {

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/PrettyPrintXMLStreamWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/PrettyPrintXMLStreamWriter.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/PrettyPrintXMLStreamWriter.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/wsdl/PrettyPrintXMLStreamWriter.java Sun Jan  8 13:59:37 2012
@@ -172,7 +172,7 @@ public class PrettyPrintXMLStreamWriter 
     }
 
     public void writeEndElement() throws XMLStreamException {
-        CurrentElement elem = (CurrentElement) elems.pop();
+        CurrentElement elem = elems.pop();
         unindent();
         if (elem.hasChildElements()) {
             baseWriter.writeCharacters("\n");
@@ -235,7 +235,7 @@ public class PrettyPrintXMLStreamWriter 
             baseWriter.writeCharacters("");
             baseWriter.writeCharacters("\n");
             indentWithSpaces();
-            CurrentElement elem = (CurrentElement) elems.peek();
+            CurrentElement elem = elems.peek();
             elem.setChildElements(true);
         }
         if (prefix == null && namespaceURI == null) {
@@ -249,7 +249,7 @@ public class PrettyPrintXMLStreamWriter 
     }
 
     private int getIndentLevel(Class<?> parent) {
-        Integer result = (Integer)WSDL_INDENT_MAP.get(parent);
+        Integer result = WSDL_INDENT_MAP.get(parent);
         if (result == null) {
             return DEFAULT_INDENT_LEVEL;
         }

Modified: cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilderTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilderTest.java (original)
+++ cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionBuilderTest.java Sun Jan  8 13:59:37 2012
@@ -68,7 +68,7 @@ public class JaxbAssertionBuilderTest ex
         assertNotNull(ab);
         InputStream is = JaxbAssertionBuilderTest.class.getResourceAsStream("foo.xml");
         Document doc = DOMUtils.readXml(is);        
-        Element elem =  DOMUtils.findAllElementsByTagNameNS((Element)doc.getDocumentElement(), 
+        Element elem =  DOMUtils.findAllElementsByTagNameNS(doc.getDocumentElement(), 
                                                           "http://cxf.apache.org/test/assertions/foo", 
                                                           "foo").get(0);
         Assertion a = ab.build(elem, null);

Modified: cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionTest.java (original)
+++ cxf/trunk/api/src/test/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertionTest.java Sun Jan  8 13:59:37 2012
@@ -74,9 +74,9 @@ public class JaxbAssertionTest extends A
         
         PolicyComponent pc = new Policy();
         assertTrue(!assertion.equal(pc));
-        pc = (PolicyComponent)new All();
+        pc = new All();
         assertTrue(!assertion.equal(pc));
-        pc = (PolicyComponent)new ExactlyOne();
+        pc = new ExactlyOne();
         assertTrue(!assertion.equal(pc));
         
         IMocksControl ctrl = EasyMock.createNiceControl();

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/classloader/FireWallClassLoader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/classloader/FireWallClassLoader.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/classloader/FireWallClassLoader.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/classloader/FireWallClassLoader.java Sun Jan  8 13:59:37 2012
@@ -260,7 +260,7 @@ public class FireWallClassLoader extends
             return null;
         }
 
-        return (String[])filters.clone();
+        return filters.clone();
     }
 
     /**
@@ -274,7 +274,7 @@ public class FireWallClassLoader extends
             return null;
         }
 
-        return (String[])negativeFilters.clone();
+        return negativeFilters.clone();
     }
 
 }

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/Log4jLogger.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/Log4jLogger.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/Log4jLogger.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/logging/Log4jLogger.java Sun Jan  8 13:59:37 2012
@@ -143,8 +143,6 @@ public class Log4jLogger extends Abstrac
         default:
             if (l.toInt() == TRACE.toInt()) {
                 l2 = Level.FINEST;
-            } else {
-                l2 = null;
             }
         } 
         return l2;

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java Sun Jan  8 13:59:37 2012
@@ -159,7 +159,6 @@ public class ASMHelper {
                     // newConstInt was removed in 2.x, if we get this far, we're
                     // using 1.5.x,
                     // set to null so we don't attempt to use it.
-                    newCw = null;    
                     oldASM = true;
                 } catch (Throwable t) {
                     newCw = cons.newInstance(new Object[] {Boolean.TRUE});

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ParamReader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ParamReader.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ParamReader.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ParamReader.java Sun Jan  8 13:59:37 2012
@@ -187,7 +187,7 @@ public class ParamReader extends ClassRe
 
     protected String[] getParameterNames(Member member, Class<?>[] pTypes) {
         // look up the names for this method
-        MethodInfo info = (MethodInfo)methods.get(getSignature(member, pTypes));
+        MethodInfo info = methods.get(getSignature(member, pTypes));
 
         // we know all the local variable names, but we only need to return
         // the names of the parameters.
@@ -230,7 +230,7 @@ public class ParamReader extends ClassRe
     private MethodInfo getMethodInfo() {
         MethodInfo info = null;
         if (methods != null && methodName != null) {
-            info = (MethodInfo)methods.get(methodName);
+            info = methods.get(methodName);
         }
         return info;
     }

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java Sun Jan  8 13:59:37 2012
@@ -251,7 +251,7 @@ public class SchemaCollection {
     }
 
     private void addElementCrossImportsElement(XmlSchema schema, XmlSchemaElement item) {
-        XmlSchemaElement element = (XmlSchemaElement)item;
+        XmlSchemaElement element = item;
         XmlSchemaUtils.addImportIfNeeded(schema, element.getRef().getTargetQName());
         XmlSchemaUtils.addImportIfNeeded(schema, element.getSchemaTypeName());
         // if there's an anonymous type, it might have element refs in it.

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanQNameMap.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanQNameMap.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanQNameMap.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/SpringBeanQNameMap.java Sun Jan  8 13:59:37 2012
@@ -116,10 +116,10 @@ public class SpringBeanQNameMap<V> 
                                             .getGenericArgumentValues();
                                     
                                     ConstructorArgumentValues.ValueHolder v 
-                                        = (ConstructorArgumentValues.ValueHolder)l.get(0);
+                                        = l.get(0);
                                     
                                     TypedStringValue nss = (TypedStringValue)v.getValue();
-                                    v = (ConstructorArgumentValues.ValueHolder)l.get(1);
+                                    v = l.get(1);
                                     TypedStringValue ln = (TypedStringValue)v.getValue();
                                     checked.add(new QName(nss.getValue(), ln.getValue()));
                                 } catch (Exception ex) {

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java Sun Jan  8 13:59:37 2012
@@ -617,7 +617,7 @@ public final class DOMUtils {
 
         Node parent = el.getParentNode();
         if (parent instanceof Element) {
-            return getNamespace((Element)parent, searchPrefix);
+            return getNamespace(parent, searchPrefix);
         }
 
         return null;

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/WSDLHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/WSDLHelper.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/WSDLHelper.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/WSDLHelper.java Sun Jan  8 13:59:37 2012
@@ -45,11 +45,11 @@ public class WSDLHelper {
         }
         Iterator<Binding> ite = CastUtils.cast(def.getBindings().values().iterator());
         while (ite.hasNext()) {
-            Binding binding = (Binding)ite.next();
+            Binding binding = ite.next();
             Iterator<BindingOperation> ite1 
                 = CastUtils.cast(binding.getBindingOperations().iterator());
             while (ite1.hasNext()) {
-                BindingOperation bop = (BindingOperation)ite1.next();
+                BindingOperation bop = ite1.next();
                 if (bop.getName().equals(operationName)) {
                     return bop;
                 }

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/XMLUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/XMLUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/XMLUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/XMLUtils.java Sun Jan  8 13:59:37 2012
@@ -344,7 +344,7 @@ public final class XMLUtils {
 
         String namespceURI = defaultNamespace;
         if (prefix != null) {
-            namespceURI = (String)namespaces.get(prefix);
+            namespceURI = namespaces.get(prefix);
         }
         return new QName(namespceURI, localName);
     }

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java Sun Jan  8 13:59:37 2012
@@ -1400,12 +1400,12 @@ public final class StaxUtils {
         }
         Iterator<XMLEvent> it = CastUtils.cast(start.getNamespaces());
         while (it != null && it.hasNext()) {
-            writeEvent((XMLEvent)it.next(), writer);
+            writeEvent(it.next(), writer);
         }
         
         it = CastUtils.cast(start.getAttributes());
         while (it != null && it.hasNext()) {
-            writeAttributeEvent((Attribute)it.next(), writer);            
+            writeAttributeEvent(it.next(), writer);            
         }
     }
     private static void writeAttributeEvent(XMLEvent event, XMLStreamWriter writer) 

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/W3CDOMStreamReader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/W3CDOMStreamReader.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/W3CDOMStreamReader.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/W3CDOMStreamReader.java Sun Jan  8 13:59:37 2012
@@ -149,7 +149,7 @@ public class W3CDOMStreamReader extends 
     }
 
     public final Node getCurrentNode() {
-        return (Node)getCurrentFrame().element;
+        return getCurrentFrame().element;
     }
     public final Element getCurrentElement() {
         return (Element)getCurrentFrame().element;
@@ -166,7 +166,7 @@ public class W3CDOMStreamReader extends 
         if (getCurrentFrame().currentChild == null) {
             return getCurrentNode().getFirstChild() != null;            
         }
-        return ((Node)getCurrentFrame().currentChild).getNextSibling() != null;
+        return getCurrentFrame().currentChild.getNextSibling() != null;
     }
 
     @Override
@@ -175,7 +175,7 @@ public class W3CDOMStreamReader extends 
         if (frame.currentChild == null) {
             content = getCurrentNode().getFirstChild();            
         } else {
-            content = ((Node)frame.currentChild).getNextSibling();
+            content = frame.currentChild.getNextSibling();
         }
         
         frame.currentChild = content;

Modified: cxf/trunk/common/common/src/test/java/org/apache/cxf/common/annotation/AnnotationProcessorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/test/java/org/apache/cxf/common/annotation/AnnotationProcessorTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/test/java/org/apache/cxf/common/annotation/AnnotationProcessorTest.java (original)
+++ cxf/trunk/common/common/src/test/java/org/apache/cxf/common/annotation/AnnotationProcessorTest.java Sun Jan  8 13:59:37 2012
@@ -55,8 +55,8 @@ public class AnnotationProcessorTest ext
         expectedAnnotations.add(WebService.class);
 
         prepareCommonExpectations(visitor);
-        visitor.visitClass((Class<?>)EasyMock.eq(AnnotatedGreeterImpl.class), 
-                           (Annotation)EasyMock.isA(WebService.class));
+        visitor.visitClass(EasyMock.eq(AnnotatedGreeterImpl.class), 
+                           EasyMock.isA(WebService.class));
 
         runProcessor(visitor);
     } 
@@ -69,7 +69,7 @@ public class AnnotationProcessorTest ext
         expectedAnnotations.add(Resource.class);
         prepareCommonExpectations(visitor);
         visitor.visitField(EasyMock.eq(expectedField), 
-                           (Annotation)EasyMock.isA(Resource.class));
+                           EasyMock.isA(Resource.class));
         visitor.visitMethod((Method)EasyMock.anyObject(), (Annotation)EasyMock.anyObject());
 
         runProcessor(visitor);
@@ -92,17 +92,17 @@ public class AnnotationProcessorTest ext
 
         prepareCommonExpectations(visitor);
         visitor.visitField(EasyMock.eq(expectedField), 
-                           (Annotation)EasyMock.isA(Resource.class));
+                           EasyMock.isA(Resource.class));
         visitor.visitMethod(EasyMock.eq(expectedMethod1), 
-                           (Annotation)EasyMock.isA(WebMethod.class));
+                           EasyMock.isA(WebMethod.class));
         visitor.visitMethod(EasyMock.eq(expectedMethod2), 
-                           (Annotation)EasyMock.isA(WebMethod.class));
+                           EasyMock.isA(WebMethod.class));
         visitor.visitMethod(EasyMock.eq(expectedMethod3), 
-                           (Annotation)EasyMock.isA(WebMethod.class));
+                           EasyMock.isA(WebMethod.class));
         visitor.visitMethod(EasyMock.eq(expectedMethod4), 
-                           (Annotation)EasyMock.isA(Resource.class));
+                           EasyMock.isA(Resource.class));
         visitor.visitMethod(EasyMock.eq(expectedMethod5), 
-                            (Annotation)EasyMock.isA(WebMethod.class));
+                            EasyMock.isA(WebMethod.class));
         runProcessor(visitor);
     }
 

Modified: cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java (original)
+++ cxf/trunk/common/common/src/test/java/org/apache/cxf/configuration/spring/SpringBeanMapTest.java Sun Jan  8 13:59:37 2012
@@ -41,12 +41,12 @@ public class SpringBeanMapTest extends A
 
         assertEquals(2, beans.size());
 
-        Person p = (Person)beans.get("dan");
+        Person p = beans.get("dan");
         assertNotNull(p);
  
         assertEquals(1, PersonImpl.getLoadCount());
         
-        Person jane = (Person)beans.get("jane");
+        Person jane = beans.get("jane");
         assertNotNull(jane);
         assertEquals(2, PersonImpl.getLoadCount());
         

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java Sun Jan  8 13:59:37 2012
@@ -73,7 +73,7 @@ public class PlugInClassLoader extends S
         while (i.hasNext()) {            
             LOG.config("get Filter " + propFile + "::" + (String)i.next());            
         }    
-        return (String[])filtersProps.keySet().toArray(new String[] {});
+        return filtersProps.keySet().toArray(new String[] {});
     }
 
     private static Properties getProperties(ClassLoader parent, String propsFileName) throws IOException {
@@ -119,7 +119,7 @@ public class PlugInClassLoader extends S
             }
         }
 
-        return (String[])urlList.toArray(new String[] {});
+        return urlList.toArray(new String[] {});
     }
 
     protected Class<?> findClass(String name) throws ClassNotFoundException {

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java Sun Jan  8 13:59:37 2012
@@ -51,7 +51,7 @@ public final class PlugInClassLoaderHelp
     public static byte[] getResourceAsBytes(String name) throws IOException {
         // check nonClassCache for properties etc..
         if (!name.endsWith(".class") && nonClassesMap.containsKey(name)) {
-            return (byte[])(nonClassesMap.get(name));            
+            return nonClassesMap.get(name);            
         }
 
         // first check file path directorys, then check jars

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java Sun Jan  8 13:59:37 2012
@@ -78,10 +78,10 @@ public abstract class AbstractManagedCon
             AbstractManagedConnectionImpl conn = (AbstractManagedConnectionImpl)iterator.next();
 
             LOG.log(Level.FINE, "MATCH_CONNECTION_AGAINST", 
-                       new Object[] {((AbstractManagedConnectionImpl)conn).getConnectionRequestInfo(),
+                       new Object[] {conn.getConnectionRequestInfo(),
                                      crInfo});
 
-            if (!((AbstractManagedConnectionImpl)conn).isBound()) {
+            if (!conn.isBound()) {
                 LOG.fine("Match against unbounded, con= " + conn + ", info=" + crInfo);
                 return conn;
             } else {

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionImpl.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionImpl.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionImpl.java Sun Jan  8 13:59:37 2012
@@ -48,7 +48,7 @@ public abstract class AbstractManagedCon
         Subject sj) throws ResourceException {
         
         this.managedConnectionFactory = managedFactory;
-        this.crinfo = (ConnectionRequestInfo)crInfo;
+        this.crinfo = crInfo;
     }
 
     

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImpl.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImpl.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImpl.java Sun Jan  8 13:59:37 2012
@@ -131,7 +131,7 @@ public class ManagedConnectionFactoryImp
         throws ResourceException {
         LOG.info("create connection, subject=" + subject + " connReqInfo=" + connReqInfo);
         init(Thread.currentThread().getContextClassLoader());
-        return (ManagedConnection)new ManagedConnectionImpl(this, connReqInfo, subject);
+        return new ManagedConnectionImpl(this, connReqInfo, subject);
     }
 
     public void close() throws javax.resource.spi.ResourceAdapterInternalException {

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java Sun Jan  8 13:59:37 2012
@@ -61,7 +61,7 @@ public class ManagedConnectionImpl 
     public void associateConnection(Object connection) throws ResourceException {
         try {           
             CXFInvocationHandler handler = 
-                    (CXFInvocationHandler)Proxy.getInvocationHandler((Proxy)connection);
+                    (CXFInvocationHandler)Proxy.getInvocationHandler(connection);
             Object managedConnection = handler.getData().getManagedConnection();
 
             if (managedConnection != this) {

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/handlers/CXFInvocationHandlerBase.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/handlers/CXFInvocationHandlerBase.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/handlers/CXFInvocationHandlerBase.java (original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/handlers/CXFInvocationHandlerBase.java Sun Jan  8 13:59:37 2012
@@ -87,7 +87,7 @@ abstract class CXFInvocationHandlerBase 
     private boolean isCheckedException(Method method, Throwable t) {
         boolean isCheckedException = false;
 
-        Class<?> checkExceptionTypes[] = (Class<?>[])method.getExceptionTypes();
+        Class<?> checkExceptionTypes[] = method.getExceptionTypes();
 
         for (int i = 0; i < checkExceptionTypes.length; i++) {
             if (checkExceptionTypes[i].isAssignableFrom(t.getClass())) {

Modified: cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/JCABusFactoryTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/JCABusFactoryTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/JCABusFactoryTest.java (original)
+++ cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/JCABusFactoryTest.java Sun Jan  8 13:59:37 2012
@@ -82,7 +82,7 @@ public class JCABusFactoryTest extends A
         JCABusFactory jcaBusFactory = new JCABusFactory(mcf);
         Bus mockBus = EasyMock.createMock(Bus.class);
 
-        jcaBusFactory.setBus((Bus)mockBus);
+        jcaBusFactory.setBus(mockBus);
         jcaBusFactory.initializeServants();
         
     }

Modified: cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/AbstractInvocationHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/AbstractInvocationHandlerTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/AbstractInvocationHandlerTest.java (original)
+++ cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/AbstractInvocationHandlerTest.java Sun Jan  8 13:59:37 2012
@@ -71,13 +71,13 @@ public abstract class AbstractInvocation
     }
 
     protected CXFInvocationHandler getNextHandler() {
-        return (CXFInvocationHandler)mockHandler;
+        return mockHandler;
     }
 
     protected abstract CXFInvocationHandler getHandler();
 
     protected CXFManagedConnectionFactory getTestManagedConnectionFactory() {
-        return (CXFManagedConnectionFactory)mcf;
+        return mcf;
     }
 
     

Modified: cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ObjectMethodInvocationHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ObjectMethodInvocationHandlerTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ObjectMethodInvocationHandlerTest.java (original)
+++ cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ObjectMethodInvocationHandlerTest.java Sun Jan  8 13:59:37 2012
@@ -48,7 +48,7 @@ public class ObjectMethodInvocationHandl
         data = new CXFInvocationHandlerDataImpl();
         data.setTarget(target);
         handler = new ObjectMethodInvocationHandler(data);
-        handler.setNext((CXFInvocationHandler)dummyHandler); 
+        handler.setNext(dummyHandler); 
     } 
 
     @Test
@@ -83,7 +83,7 @@ public class ObjectMethodInvocationHandl
     public void testNonObjecMethod() throws Throwable { 
 
         DummyHandler dummyHandler1 = new DummyHandler(); 
-        handler.setNext((CXFInvocationHandler)dummyHandler1); 
+        handler.setNext(dummyHandler1); 
 
         final Method method = TestTarget.class.getMethod("testMethod", new Class[0]); 
         
@@ -101,9 +101,9 @@ public class ObjectMethodInvocationHandl
         data1.setTarget(new TestTarget());
         data2.setTarget(new TestTarget());
         ObjectMethodInvocationHandler handler1 = new ObjectMethodInvocationHandler(data1); 
-        handler1.setNext((CXFInvocationHandler)mockHandler); 
+        handler1.setNext(mockHandler); 
         ObjectMethodInvocationHandler handler2 = new ObjectMethodInvocationHandler(data2); 
-        handler2.setNext((CXFInvocationHandler)mockHandler); 
+        handler2.setNext(mockHandler); 
 
         TestInterface proxy1 = 
             (TestInterface)Proxy.newProxyInstance(TestInterface.class.getClassLoader(), interfaces, handler1);

Modified: cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ProxyInvocationHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ProxyInvocationHandlerTest.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ProxyInvocationHandlerTest.java (original)
+++ cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/handlers/ProxyInvocationHandlerTest.java Sun Jan  8 13:59:37 2012
@@ -22,7 +22,6 @@ import org.apache.cxf.Bus;
 import org.apache.cxf.BusFactory;
 import org.apache.cxf.jca.cxf.CXFInvocationHandler;
 import org.apache.cxf.jca.cxf.CXFInvocationHandlerData;
-import org.apache.cxf.jca.cxf.CXFManagedConnection;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -42,8 +41,7 @@ public class  ProxyInvocationHandlerTest
         super.setUp(); 
         data = new CXFInvocationHandlerDataImpl();
         testObject = new ProxyInvocationHandler(data);
-        testObject.getData().setManagedConnection((CXFManagedConnection)mci);
-        assertTrue(testObject instanceof CXFInvocationHandlerBase); 
+        testObject.getData().setManagedConnection(mci);
     } 
 
 

Modified: cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo.java (original)
+++ cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo.java Sun Jan  8 13:59:37 2012
@@ -182,7 +182,7 @@ public class WSDL2JavaMojo extends Abstr
 
         List<String> list = wsdlOption.generateCommandLine(outputDirFile, basedir, wsdlURI, getLog()
                                                            .isDebugEnabled());
-        String[] args = (String[])list.toArray(new String[list.size()]);
+        String[] args = list.toArray(new String[list.size()]);
         getLog().debug("Calling wsdl2java with args: " + Arrays.toString(args));
         
         if (!"false".equals(fork)) {

Modified: cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2js/WSDL2JavaScriptMojo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2js/WSDL2JavaScriptMojo.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2js/WSDL2JavaScriptMojo.java (original)
+++ cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2js/WSDL2JavaScriptMojo.java Sun Jan  8 13:59:37 2012
@@ -103,7 +103,7 @@ public class WSDL2JavaScriptMojo extends
 
         List<String> list = wsdlOption.generateCommandLine(outputDirFile, basedir, wsdlURI, getLog()
             .isDebugEnabled());
-        String[] args = (String[])list.toArray(new String[list.size()]);
+        String[] args = list.toArray(new String[list.size()]);
         getLog().debug("Calling wsdl2js with args: " + Arrays.toString(args));
 
         if (!"false".equals(fork)) {

Modified: cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java (original)
+++ cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java Sun Jan  8 13:59:37 2012
@@ -74,7 +74,7 @@ public class IDLToWSDLPlugin extends Abs
                 list.addAll(idltowsdlOptions[x].getExtraargs());
                 list.add(idltowsdlOptions[x].getIDL());            
                 try {
-                    IDLToWSDL.run((String[])list.toArray(new String[list.size()]));
+                    IDLToWSDL.run(list.toArray(new String[list.size()]));
                     doneFile.delete();
                     doneFile.createNewFile();
                 } catch (Throwable e) {

Modified: cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java (original)
+++ cxf/trunk/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java Sun Jan  8 13:59:37 2012
@@ -149,7 +149,7 @@ public class WSDLToIDLPlugin extends Abs
                     }
                     list.add(wsdltoidlOptions[x].getWSDL());            
                     try {
-                        WSDLToIDL.run((String[])list.toArray(new String[list.size()]));
+                        WSDLToIDL.run(list.toArray(new String[list.size()]));
                         doneFile.delete();
                         doneFile.createNewFile();
                     } catch (Throwable e) {

Modified: cxf/trunk/maven-plugins/wadl2java-plugin/src/main/java/org/apache/cxf/maven_plugin/wadlto/AbstractCodeGeneratorMojo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/wadl2java-plugin/src/main/java/org/apache/cxf/maven_plugin/wadlto/AbstractCodeGeneratorMojo.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/wadl2java-plugin/src/main/java/org/apache/cxf/maven_plugin/wadlto/AbstractCodeGeneratorMojo.java (original)
+++ cxf/trunk/maven-plugins/wadl2java-plugin/src/main/java/org/apache/cxf/maven_plugin/wadlto/AbstractCodeGeneratorMojo.java Sun Jan  8 13:59:37 2012
@@ -427,7 +427,7 @@ public abstract class AbstractCodeGenera
 
         List<String> list = option.generateCommandLine(outputDirFile, basedir, wadlURI, getLog()
                                                            .isDebugEnabled());
-        String[] args = (String[])list.toArray(new String[list.size()]);
+        String[] args = list.toArray(new String[list.size()]);
         getLog().debug("Calling wadl2java with args: " + Arrays.toString(args));
         
         if (!"false".equals(fork)) {

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaConduit.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaConduit.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaConduit.java Sun Jan  8 13:59:37 2012
@@ -391,7 +391,7 @@ public class CorbaConduit implements Con
                 inCorbaMsg.setSystemException(corbaMsg.getSystemException());
             }
             LOG.log(Level.FINE, "incoming observer is " + incomingObserver);
-            incomingObserver.onMessage((Message)inCorbaMsg);
+            incomingObserver.onMessage(inCorbaMsg);
             message.setContent(Exception.class, inCorbaMsg.getContent(Exception.class));
         }
 

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaDestination.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaDestination.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaDestination.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/CorbaDestination.java Sun Jan  8 13:59:37 2012
@@ -414,7 +414,7 @@ public class CorbaDestination implements
         
         orbConfig.addPOAPolicies(orb, name, parentPOA, poaManager, policies);
         
-        Policy[] policyList = (Policy[])policies.toArray(new Policy[policies.size()]);
+        Policy[] policyList = policies.toArray(new Policy[policies.size()]);
 
         try {
             return parentPOA.create_POA(name, poaManager, policyList);

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultInInterceptor.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultInInterceptor.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultInInterceptor.java Sun Jan  8 13:59:37 2012
@@ -90,7 +90,7 @@ public class CorbaStreamFaultInIntercept
                 
                 org.omg.CORBA.ORB orb = (org.omg.CORBA.ORB) message.get(CorbaConstants.ORB);
                 if (orb == null) {
-                    orb = (org.omg.CORBA.ORB) message.getExchange().get(org.omg.CORBA.ORB.class); 
+                    orb = message.getExchange().get(org.omg.CORBA.ORB.class); 
                 }
                 QName elName = new QName("", exStreamable.getName());
                 FaultInfo fault = getFaultInfo(opInfo, elName);
@@ -122,7 +122,7 @@ public class CorbaStreamFaultInIntercept
                         e = faultEx;
                     }
                 }
-                message.setContent(Exception.class, (Exception) e);
+                message.setContent(Exception.class, e);
             }
         } catch (java.lang.Exception ex) {
             LOG.log(Level.SEVERE, "CORBA unmarshalFault exception", ex);

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultOutInterceptor.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultOutInterceptor.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamFaultOutInterceptor.java Sun Jan  8 13:59:37 2012
@@ -88,7 +88,7 @@ public class CorbaStreamFaultOutIntercep
 
         orb = (ORB) message.get(CorbaConstants.ORB);
         if (orb == null) {
-            orb = (ORB) exchange.get(ORB.class); 
+            orb = exchange.get(ORB.class); 
         }
         
         DataWriter<XMLStreamWriter> writer = getDataWriter(message);

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamInInterceptor.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamInInterceptor.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamInInterceptor.java Sun Jan  8 13:59:37 2012
@@ -103,7 +103,7 @@ public class CorbaStreamInInterceptor ex
         }
 
         CorbaMessage outMessage = (CorbaMessage)message.getExchange().getOutMessage();
-        orb = (ORB)message.getExchange().get(ORB.class);
+        orb = message.getExchange().get(ORB.class);
         HandlerIterator paramIterator = new HandlerIterator(outMessage, false);
 
         CorbaTypeEventProducer eventProducer = null;
@@ -170,7 +170,7 @@ public class CorbaStreamInInterceptor ex
             throw new RuntimeException("Couldn't find the binding operation for " + opName);
         }
 
-        orb = (ORB)exchange.get(ORB.class);
+        orb = exchange.get(ORB.class);
 
         ServerRequest request = exchange.get(ServerRequest.class);
         NVList list = prepareArguments(message, info, opType, 

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamOutInterceptor.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamOutInterceptor.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/interceptors/CorbaStreamOutInterceptor.java Sun Jan  8 13:59:37 2012
@@ -78,7 +78,7 @@ public class CorbaStreamOutInterceptor e
         for (Iterator<ParamType> iter = paramTypes.iterator(); iter.hasNext();) {
             ParamType param = iter.next();
             if (!param.getMode().equals(ModeType.OUT)) {
-                params.add((ArgType)param);
+                params.add(param);
             }
         }
         CorbaStreamWriter writer = new CorbaStreamWriter(orb, params, typeMap, service, wrap);
@@ -101,7 +101,7 @@ public class CorbaStreamOutInterceptor e
         for (Iterator<ParamType> iter = paramTypes.iterator(); iter.hasNext();) {
             ParamType param = iter.next();
             if (!param.getMode().equals(ModeType.IN)) {
-                params.add((ArgType)param);
+                params.add(param);
             }
         }
         CorbaStreamWriter writer = new CorbaStreamWriter(orb, params, typeMap, service, wrap);

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaDSIServant.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaDSIServant.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaDSIServant.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaDSIServant.java Sun Jan  8 13:59:37 2012
@@ -106,7 +106,7 @@ public class CorbaDSIServant extends Dyn
         operationMap = new HashMap<String, QName>(bInfo.getOperations().size());
 
         while (i.hasNext()) {
-            BindingOperationInfo bopInfo = (BindingOperationInfo)i.next();
+            BindingOperationInfo bopInfo = i.next();
             OperationType opType = bopInfo.getExtensor(OperationType.class);
             if (opType != null) {
                 operationMap.put(opType.getName(), bopInfo.getName());

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaObjectWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaObjectWriter.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaObjectWriter.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaObjectWriter.java Sun Jan  8 13:59:37 2012
@@ -183,7 +183,7 @@ public class CorbaObjectWriter {
 
     public void writeLong(Integer l) throws CorbaBindingException {
         if (l == null) {
-            stream.write_long((int)0);
+            stream.write_long(0);
         } else {
             stream.write_long(l.intValue());
         }
@@ -191,7 +191,7 @@ public class CorbaObjectWriter {
 
     public void writeULong(Long l) throws CorbaBindingException {
         if (l == null) {
-            stream.write_ulong((int)0);
+            stream.write_ulong(0);
         } else {
             stream.write_ulong(l.intValue());
         }
@@ -199,7 +199,7 @@ public class CorbaObjectWriter {
 
     public void writeLongLong(Long l) throws CorbaBindingException {
         if (l == null) {
-            stream.write_longlong((long)0);
+            stream.write_longlong(0);
         } else {
             stream.write_longlong(l.longValue());
         }
@@ -207,7 +207,7 @@ public class CorbaObjectWriter {
 
     public void writeULongLong(java.math.BigInteger l) throws CorbaBindingException {
         if (l == null) {
-            stream.write_ulonglong((long)0);
+            stream.write_ulonglong(0);
         } else {
             stream.write_ulonglong(l.longValue());
         }
@@ -223,7 +223,7 @@ public class CorbaObjectWriter {
 
     public void writeDouble(Double d) throws CorbaBindingException {
         if (d == null) {
-            stream.write_double((double)0.0);
+            stream.write_double(0.0);
         } else {
             stream.write_double(d.doubleValue());
         }

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaStreamWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaStreamWriter.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaStreamWriter.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/runtime/CorbaStreamWriter.java Sun Jan  8 13:59:37 2012
@@ -335,7 +335,7 @@ public class CorbaStreamWriter implement
             map.put(pfx, ns);
         }
         public String getNamespaceURI(String prefix) {
-            String answer = (String) map.get(prefix);
+            String answer = map.get(prefix);
             if (answer == null && parent != null) {
                 return parent.getNamespaceURI(prefix);
             }
@@ -345,7 +345,7 @@ public class CorbaStreamWriter implement
         public String getPrefix(String namespaceURI) {
             for (Map.Entry<String, String> entry: map.entrySet()) {
                 if (namespaceURI.equals(entry.getValue())) {
-                    return (String) entry.getKey();
+                    return entry.getKey();
                 }
             }
             if (parent != null) {

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionEventProducer.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionEventProducer.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionEventProducer.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionEventProducer.java Sun Jan  8 13:59:37 2012
@@ -71,7 +71,7 @@ public class CorbaUnionEventProducer ext
         if (unionType.isSetNillable() && unionType.isNillable()) {
             CorbaPrimitiveHandler descHandler = (CorbaPrimitiveHandler) handler.getDiscriminator();
             Boolean descValue = (Boolean) descHandler.getValue();
-            if (!((Boolean)descValue).booleanValue()) {
+            if (!descValue.booleanValue()) {
                 isItNil = true;
             }
         }

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionHandler.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionHandler.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/types/CorbaUnionHandler.java Sun Jan  8 13:59:37 2012
@@ -171,7 +171,7 @@ public class CorbaUnionHandler extends C
             } else {
                 String enumLabel = null;
                 for (Iterator<Enumerator> enumIter = enumerators.iterator(); enumIter.hasNext();) {
-                    enumLabel = ((Enumerator)enumIter.next()).getValue();
+                    enumLabel = enumIter.next().getValue();
                     if (!labels.contains(enumLabel)) {
                         label = enumLabel;
                         break;

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java Sun Jan  8 13:59:37 2012
@@ -202,19 +202,19 @@ public final class CorbaAnyHelper {
             primitive.setValue(Short.valueOf(a.extract_short()));
             break;
         case TCKind._tk_ushort:
-            primitive.setValue(Integer.valueOf((int)a.extract_ushort()));
+            primitive.setValue(Integer.valueOf(a.extract_ushort()));
             break;
         case TCKind._tk_long:
             primitive.setValue(Integer.valueOf(a.extract_long()));
             break;
         case TCKind._tk_ulong:
-            primitive.setValue(BigInteger.valueOf((long)a.extract_ulong()));
+            primitive.setValue(BigInteger.valueOf(a.extract_ulong()));
             break;
         case TCKind._tk_longlong:
             primitive.setValue(Long.valueOf(a.extract_longlong()));
             break;
         case TCKind._tk_ulonglong:
-            primitive.setValue(BigInteger.valueOf((long)a.extract_ulonglong()));
+            primitive.setValue(BigInteger.valueOf(a.extract_ulonglong()));
             break;
         case TCKind._tk_float:
             primitive.setValue(Float.valueOf(a.extract_float()));

Modified: cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaObjectReferenceHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaObjectReferenceHelper.java?rev=1228848&r1=1228847&r2=1228848&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaObjectReferenceHelper.java (original)
+++ cxf/trunk/rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaObjectReferenceHelper.java Sun Jan  8 13:59:37 2012
@@ -171,15 +171,15 @@ public final class CorbaObjectReferenceH
 
     public static int readIntFromAlignedCDREncaps(byte[] data, int index, boolean bigEndian) {
         if (bigEndian) {
-            int partial = ((((int)data[index]) << 24) & 0xff000000)
-                | ((((int)data[index + 1]) << 16) & 0x00ff0000);
-            return partial | ((((int)data[index + 2]) << 8) & 0x0000ff00) 
-                | ((((int)data[index + 3])) & 0x000000ff);
+            int partial = ((data[index] << 24) & 0xff000000)
+                | ((data[index + 1] << 16) & 0x00ff0000);
+            return partial | ((data[index + 2] << 8) & 0x0000ff00) 
+                | ((data[index + 3]) & 0x000000ff);
         } else {
-            int partial = ((((int)data[index])) & 0x000000ff)
-                | ((((int)data[index + 1]) << 8) & 0x0000ff00);
-            return partial | ((((int)data[index + 2]) << 16) & 0x00ff0000) 
-                | ((((int)data[index + 3]) << 24) & 0xff000000);
+            int partial = ((data[index]) & 0x000000ff)
+                | ((data[index + 1] << 8) & 0x0000ff00);
+            return partial | ((data[index + 2] << 16) & 0x00ff0000) 
+                | ((data[index + 3] << 24) & 0xff000000);
         }
     }
 



Mime
View raw message