db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1345940 - /db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java
Date Mon, 04 Jun 2012 12:40:35 GMT
Author: tfischer
Date: Mon Jun  4 12:40:34 2012
New Revision: 1345940

URL: http://svn.apache.org/viewvc?rev=1345940&view=rev
Log:
change name of outputDirMap setter to match variable name

Modified:
    db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java

Modified: db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java?rev=1345940&r1=1345939&r2=1345940&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java
(original)
+++ db/torque/torque4/trunk/torque-ant-tasks/src/main/java/org/apache/torque/ant/task/TorqueGeneratorTask.java
Mon Jun  4 12:40:34 2012
@@ -103,12 +103,12 @@ public class TorqueGeneratorTask extends
 
     /**
      * The target directory for files which are generated each time anew.
-     * Default is "./generated-sources"
+     * Default is "target/generated-sources"
      */
     private File defaultOutputDir = new File("target/generated-sources");
 
     /**
-     * The target directory for files which are not generated each time anew.
+     * The target directories for files which are not generated each time anew.
      * Default is modifiable -> "./src/main/generated-java"
      */
     private Map<String, File> outputDirMap = new HashMap<String, File>();
@@ -157,7 +157,7 @@ public class TorqueGeneratorTask extends
     private Boolean combineFiles;
 
     /** The list of options for the generation task. */
-    private List<Option> options = new ArrayList<Option>();
+    private final List<Option> options = new ArrayList<Option>();
 
     /**
      * Creates a new option and adds it to the list of options.
@@ -174,6 +174,7 @@ public class TorqueGeneratorTask extends
     /**
      * Runs the generation.
      */
+    @Override
     public void execute() throws BuildException
     {
         Controller controller = new Controller();
@@ -400,7 +401,7 @@ public class TorqueGeneratorTask extends
      *
      * @param outputDirMap the new outputDirMap.
      */
-    public void setModifiedFileTargetDir(Map<String, File> outputDirMap)
+    public void setOutputDirMap(Map<String, File> outputDirMap)
     {
         this.outputDirMap = outputDirMap;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message