[Swift-commit] r2516 - trunk/src/org/griphyn/vdl/karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Feb 9 07:01:29 CST 2009


Author: benc
Date: 2009-02-09 07:01:28 -0600 (Mon, 09 Feb 2009)
New Revision: 2516

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/RuntimeStats.java
Log:
tidy inconsistent indentation

Modified: trunk/src/org/griphyn/vdl/karajan/lib/RuntimeStats.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/RuntimeStats.java	2009-02-09 09:05:52 UTC (rev 2515)
+++ trunk/src/org/griphyn/vdl/karajan/lib/RuntimeStats.java	2009-02-09 13:01:28 UTC (rev 2516)
@@ -24,7 +24,7 @@
 	public static final int MAX_PERIOD_MS=30000;
 
 	public static final String[] preferredOutputOrder = {
-                "uninitialized",
+		"uninitialized",
 		"Initializing",
 		"Selecting site",
 		"Stage in",
@@ -94,21 +94,21 @@
 		public ProgressTicker() {
 			super("Progress ticker");
 			try {
-                if ("true".equalsIgnoreCase(VDL2Config.getConfig().getProperty("ticker.disable"))) {
-                    logger.info("Ticker disabled in configuration file");
-                    disabled = true;
-                }
-            }
-            catch (IOException e) {
-                logger.debug("Could not read swift properties", e);
-            }
+				if ("true".equalsIgnoreCase(VDL2Config.getConfig().getProperty("ticker.disable"))) {
+					logger.info("Ticker disabled in configuration file");
+					disabled = true;
+				}
+			}
+			catch (IOException e) {
+				logger.debug("Could not read swift properties", e);
+			}
 		}
 
 		public void run() {
-		    if (disabled) {
-		        return;
-		    }
-		    while(true) {
+			if (disabled) {
+				return;
+			}
+			while(true) {
 				dumpState();
 
 				try {
@@ -121,9 +121,9 @@
 		}
 
 		void dumpState() {
-		    if (disabled) {
-		        return;
-		    }
+			if (disabled) {
+				return;
+			}
 			long now = System.currentTimeMillis();
 			if(lastDumpTime + MIN_PERIOD_MS > now) return;
 			lastDumpTime = now;
@@ -131,9 +131,9 @@
 		}
 
 		void finalDumpState() {
-		    if (disabled) {
-                return;
-            }
+			if (disabled) {
+				return;
+			}
 			printStates("Final status: ");
 		}
 




More information about the Swift-commit mailing list