[Swift-commit] r4808 - in trunk/src/org/globus/swift/data: policy util

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 7 19:02:34 CDT 2011


Author: hategan
Date: 2011-07-07 19:02:34 -0500 (Thu, 07 Jul 2011)
New Revision: 4808

Modified:
   trunk/src/org/globus/swift/data/policy/AllocationHook.java
   trunk/src/org/globus/swift/data/util/LineReader.java
Log:
cleanup

Modified: trunk/src/org/globus/swift/data/policy/AllocationHook.java
===================================================================
--- trunk/src/org/globus/swift/data/policy/AllocationHook.java	2011-07-08 00:01:16 UTC (rev 4807)
+++ trunk/src/org/globus/swift/data/policy/AllocationHook.java	2011-07-08 00:02:34 UTC (rev 4808)
@@ -1,10 +1,8 @@
 
 package org.globus.swift.data.policy;
 
-import org.globus.cog.abstraction.interfaces.Status;
-import org.globus.cog.abstraction.impl.common.StatusEvent;
 import org.globus.cog.abstraction.coaster.service.job.manager.Hook;
-
+import org.globus.cog.abstraction.impl.common.StatusEvent;
 import org.globus.swift.data.Director;
 
 /**

Modified: trunk/src/org/globus/swift/data/util/LineReader.java
===================================================================
--- trunk/src/org/globus/swift/data/util/LineReader.java	2011-07-08 00:01:16 UTC (rev 4807)
+++ trunk/src/org/globus/swift/data/util/LineReader.java	2011-07-08 00:02:34 UTC (rev 4808)
@@ -71,7 +71,7 @@
                 words.add(ws[i]);
         String[] result = new String[words.size()];
         for (int i = 0; i < words.size(); i++)
-            result[i] = (String) words.get(i);
+            result[i] = words.get(i);
         return result;
     }
 }




More information about the Swift-commit mailing list