[Swift-commit] r7846 - trunk/src/org/globus/swift/data

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu May 8 23:57:56 CDT 2014


Author: hategan
Date: 2014-05-08 23:57:55 -0500 (Thu, 08 May 2014)
New Revision: 7846

Modified:
   trunk/src/org/globus/swift/data/Query.java
Log:
query is a constant op

Modified: trunk/src/org/globus/swift/data/Query.java
===================================================================
--- trunk/src/org/globus/swift/data/Query.java	2014-05-09 04:57:23 UTC (rev 7845)
+++ trunk/src/org/globus/swift/data/Query.java	2014-05-09 04:57:55 UTC (rev 7846)
@@ -23,7 +23,7 @@
 import org.globus.cog.karajan.analyzer.ArgRef;
 import org.globus.cog.karajan.analyzer.Param;
 import org.globus.cog.karajan.compiled.nodes.functions.AbstractSingleValuedFunction;
-import org.globus.cog.karajan.compiled.nodes.functions.NullaryOp;
+import org.globus.cog.karajan.compiled.nodes.functions.ConstantOp;
 import org.globus.swift.data.policy.Policy;
 import org.griphyn.vdl.mapping.AbsFile;
 
@@ -79,7 +79,7 @@
        Obtain the CDM policy file given on the command-line,
        conventionally "fs.data".  If not set, returns an empty String.
     */
-    public static class File extends NullaryOp<String> {
+    public static class File extends ConstantOp<String> {
         @Override
         protected String value() {
             String file = "";




More information about the Swift-commit mailing list