db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1527421 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java
Date Sun, 29 Sep 2013 23:25:06 GMT
Author: tfischer
Date: Sun Sep 29 23:25:06 2013
New Revision: 1527421

URL: http://svn.apache.org/r1527421
Log:
write last change cache file only when schema changes are detected

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java?rev=1527421&r1=1527420&r2=1527421&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/Controller.java
Sun Sep 29 23:25:06 2013
@@ -265,10 +265,10 @@ public class Controller
                         output,
                         controllerState,
                         unitConfiguration);
-            }
-            if (unitConfiguration.isRunOnlyOnSourceChange())
-            {
-                writeLastModified(source, unitConfiguration);
+                if (unitConfiguration.isRunOnlyOnSourceChange())
+                {
+                    writeLastModified(source, unitConfiguration);
+                }
             }
         }
         controllerState.setSourceProvider(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