cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r946824 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java
Date Thu, 20 May 2010 23:34:31 GMT
Author: dkulp
Date: Thu May 20 23:34:31 2010
New Revision: 946824

URL: http://svn.apache.org/viewvc?rev=946824&view=rev
Log:
If the action is empty, don't output an annotation

Modified:
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java?rev=946824&r1=946823&r2=946824&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/annotator/WSActionAnnotator.java
Thu May 20 23:34:31 2010
@@ -61,7 +61,10 @@ public final class WSActionAnnotator imp
             action = (QName)mi.getExtensionAttribute(WSAW_OLD_ACTION_QNAME);
         }
         if (action != null) {
-            return action.getLocalPart();
+            String s = action.getLocalPart();
+            if (!StringUtils.isEmpty(s)) {
+                return s;
+            }
         } 
         return null;
     }



Mime
View raw message