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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Feb 9 03:05:53 CST 2009


Author: benc
Date: 2009-02-09 03:05:52 -0600 (Mon, 09 Feb 2009)
New Revision: 2515

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java
Log:
revert r2509: it breaks gram2 job submission, and appears unnecessary for core swift.

Modified: trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java	2009-02-08 19:51:21 UTC (rev 2514)
+++ trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java	2009-02-09 09:05:52 UTC (rev 2515)
@@ -67,7 +67,6 @@
 
 			attrs = attributesFromTC(tce, attrs);
 		}
-		attrs = addAttribute(attrs, "tr", tr);
 		addAttributes(named, attrs);
 		return null;
 	}
@@ -117,14 +116,6 @@
 	    }
 	    named.add(GridExec.A_ATTRIBUTES, attrs);
 	}
-	
-	private Map addAttribute(Map attrs, String key, Object value) {
-	    if (attrs == null) {
-	        attrs = new HashMap();
-	    }
-	    attrs.put(key, value);
-	    return attrs;
-	}
 
 	private Map attributesFromTC(TransformationCatalogEntry tce, Map attrs) {
 		List l = tce.getProfiles(Profile.GLOBUS);




More information about the Swift-commit mailing list