db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1527422 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java
Date Sun, 29 Sep 2013 23:26:12 GMT
Author: tfischer
Date: Sun Sep 29 23:26:11 2013
New Revision: 1527422

URL: http://svn.apache.org/r1527422
Log:
TORQUE-292 use target/torque-gen for last changes cache file

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java?rev=1527422&r1=1527421&r2=1527422&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/paths/Maven2ProjectPaths.java
Sun Sep 29 23:26:11 2013
@@ -80,18 +80,18 @@ public abstract class Maven2ProjectPaths
      * Default cache directory.
      */
     protected static final String CACHE_DIR
-            = "target/torque/cache";
+            = "target/torque-gen/cache";
 
     /**
      * The root directory of the whole maven2 project.
      */
-    private File projectRoot;
+    private final File projectRoot;
 
     /**
      * The output directory map which contains the mapping
      * from output directory key to output directory.
      */
-    private Map<String, File> outputDirectoryMap = new HashMap<String, File>();
+    private final Map<String, File> outputDirectoryMap = new HashMap<String, File>();
 
     /**
      * Constructor.
@@ -102,7 +102,7 @@ public abstract class Maven2ProjectPaths
      *
      * @throws NullPointerException if projectRoot is null.
      */
-    protected Maven2ProjectPaths(File projectRoot)
+    protected Maven2ProjectPaths(final File projectRoot)
     {
         if (projectRoot == null)
         {
@@ -156,7 +156,7 @@ public abstract class Maven2ProjectPaths
      *
      * @throws IllegalArgumentException if the outputDirKey is unknown.
      */
-    public File getOutputDirectory(String outputDirKey)
+    public File getOutputDirectory(final String outputDirKey)
     {
         File result = outputDirectoryMap.get(outputDirKey);
         if (result == null)



---------------------------------------------------------------------
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