cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1336318 - /cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java
Date Wed, 09 May 2012 17:56:01 GMT
Author: dkulp
Date: Wed May  9 17:56:01 2012
New Revision: 1336318

URL: http://svn.apache.org/viewvc?rev=1336318&view=rev
Log:
Fix compile failure

Modified:
    cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java

Modified: cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java?rev=1336318&r1=1336317&r2=1336318&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java
(original)
+++ cxf/branches/2.5.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/wsdl2java/Option.java
Wed May  9 17:56:01 2012
@@ -344,11 +344,11 @@ public class Option {
         return validateWsdl == null ? false : validateWsdl;
     }
 
-    public void setValidateWsdl(String validateWsdl) {
+    public void setValidateWsdl(boolean validateWsdl) {
         this.validateWsdl = validateWsdl;
     }
     public void setValidate(String v) {
-        this.validateWsdl = v;
+        this.validateWsdl = v == null ? false : Boolean.parseBoolean(v);
     }
     
     public boolean isNoTypes() {



Mime
View raw message