cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r572689 - in /incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal: FaultProcessor.java OperationProcessor.java ParameterProcessor.java
Date Tue, 04 Sep 2007 14:30:24 GMT
Author: dkulp
Date: Tue Sep  4 07:30:24 2007
New Revision: 572689

URL: http://svn.apache.org/viewvc?rev=572689&view=rev
Log:
Fix for build failure in testutils (return parts not processed)
Remove a bunch of SuppressWarning annotations  that were not suppressing anything

Modified:
    incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/FaultProcessor.java
    incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
    incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/FaultProcessor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/FaultProcessor.java?rev=572689&r1=572688&r2=572689&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/FaultProcessor.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/FaultProcessor.java
Tue Sep  4 07:30:24 2007
@@ -64,7 +64,6 @@
         return collision;
     }
 
-    @SuppressWarnings("unchecked")
     private void processFault(JavaMethod method, FaultInfo faultMessage) throws ToolException
{
         JavaModel model = method.getInterface().getJavaModel();
 

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java?rev=572689&r1=572688&r2=572689&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
Tue Sep  4 07:30:24 2007
@@ -51,7 +51,6 @@
         super(c);
     }
 
-    @SuppressWarnings("unchecked")
     public void process(JavaInterface intf, OperationInfo operation) throws ToolException
{
         JavaMethod method = new MethodMapper().map(operation);
         method.setInterface(intf);
@@ -62,7 +61,6 @@
         intf.addMethod(method);
     }
 
-    @SuppressWarnings("unchecked")
     void processMethod(JavaMethod method, OperationInfo operation,
                               JAXWSBinding globalBinding) throws ToolException {
         if (isAsynCMethod(method)) {

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java?rev=572689&r1=572688&r2=572689&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
Tue Sep  4 07:30:24 2007
@@ -157,7 +157,6 @@
         return message.getMessageParts().size() - count > 1;
     }
 
-    @SuppressWarnings("unchecked")
     private void processInput(JavaMethod method, MessageInfo inputMessage) throws ToolException
{
         if (requireOutOfBandHeader()) {
             try {
@@ -175,7 +174,6 @@
         }
     }
 
-    @SuppressWarnings("unchecked")
     private void processWrappedInput(JavaMethod method, MessageInfo inputMessage) throws
ToolException {
         List<MessagePartInfo> inputParts = inputMessage.getMessageParts();
 
@@ -213,7 +211,6 @@
         }
     }
 
-    @SuppressWarnings("unchecked")
     private void processOutput(JavaMethod method, MessageInfo inputMessage, MessageInfo outputMessage)
         throws ToolException {
         Map<QName, MessagePartInfo> inputPartsMap = inputMessage.getMessagePartsMap();
@@ -268,7 +265,6 @@
         }
     }
 
-    @SuppressWarnings("unchecked")
     private void processWrappedAbstractOutput(JavaMethod method,
                                               MessageInfo inputMessage,
                                               MessageInfo outputMessage) throws ToolException
{
@@ -482,7 +478,6 @@
         }
     }
 
-    @SuppressWarnings("unchecked")
     private void buildParamModelsWithOrdering(JavaMethod method,
                                               MessageInfo inputMessage,
                                               MessageInfo outputMessage,
@@ -499,7 +494,7 @@
         List<MessagePartInfo> outputParts = new ArrayList<MessagePartInfo>();
 
         if (outputMessage != null) {
-            outputMessage.getMessageParts();
+            outputParts = outputMessage.getMessageParts();
         }
 
         List<MessagePartInfo> inputUnlistedParts = new ArrayList<MessagePartInfo>();
@@ -576,7 +571,6 @@
         return false;
     }
 
-    @SuppressWarnings("unchecked")
     private boolean isValidOrdering(List<String> parameterOrder,
                                     MessageInfo inputMessage, MessageInfo outputMessage)
{
         Iterator<String> params = parameterOrder.iterator();



Mime
View raw message