cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Fixing a compilation error
Date Tue, 20 May 2014 21:48:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 4d25dac91 -> 4f3d9d8b8


Fixing a compilation error


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4f3d9d8b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4f3d9d8b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4f3d9d8b

Branch: refs/heads/2.7.x-fixes
Commit: 4f3d9d8b8420dea525fbe533b3afdbd993fdd461
Parents: 4d25dac
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue May 20 22:48:16 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue May 20 22:48:16 2014 +0100

----------------------------------------------------------------------
 .../apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4f3d9d8b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
----------------------------------------------------------------------
diff --git a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
index fe8679f..de3383a 100644
--- a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
+++ b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/Java2WADLMojo.java
@@ -142,11 +142,6 @@ public class Java2WADLMojo extends AbstractMojo {
     private boolean linkJsonToXmlSchema;
     
     /**
-     * @parameter default-value="false"
-     */
-    private boolean checkAbsolutePathSlash;
-    
-    /**
      * @parameter
      */
     private String applicationTitle;
@@ -158,9 +153,9 @@ public class Java2WADLMojo extends AbstractMojo {
     
     public void execute() throws MojoExecutionException {
         getResourcesList();
-        WadlGenerator wadlGenernator = new WadlGenerator(getBus());
+        WadlGenerator wadlGenerator = new WadlGenerator(getBus());
         setExtraProperties(wadlGenerator);
-        StringBuilder sbMain = wadlGenernator.generateWADL(getBaseURI(), classResourceInfos,
useJson, null, null);
+        StringBuilder sbMain = wadlGenerator.generateWADL(getBaseURI(), classResourceInfos,
useJson, null, null);
         getLog().debug("the wadl is =====> \n" + sbMain.toString());
         generateWadl(sbMain.toString());
     }
@@ -171,7 +166,6 @@ public class Java2WADLMojo extends AbstractMojo {
         wg.setIgnoreForwardSlash(ignoreForwardSlash);
         wg.setAddResourceAndMethodIds(addResourceAndMethodIds);
         wg.setLinkJsonToXmlSchema(linkJsonToXmlSchema);
-        wg.setCheckAbsolutePathSlash(checkAbsolutePathSlash);
          
         if (applicationTitle != null) {
             wg.setApplicationTitle(applicationTitle);


Mime
View raw message