[Swift-commit] r4602 - provider-wonky/src/org/globus/cog/abstraction/impl/file/wonky

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Jun 12 16:48:15 CDT 2011


Author: hategan
Date: 2011-06-12 16:48:15 -0500 (Sun, 12 Jun 2011)
New Revision: 4602

Modified:
   provider-wonky/src/org/globus/cog/abstraction/impl/file/wonky/FileResourceImpl.java
Log:
make sure resource has a protocol

Modified: provider-wonky/src/org/globus/cog/abstraction/impl/file/wonky/FileResourceImpl.java
===================================================================
--- provider-wonky/src/org/globus/cog/abstraction/impl/file/wonky/FileResourceImpl.java	2011-06-12 03:12:31 UTC (rev 4601)
+++ provider-wonky/src/org/globus/cog/abstraction/impl/file/wonky/FileResourceImpl.java	2011-06-12 21:48:15 UTC (rev 4602)
@@ -29,7 +29,6 @@
 import org.globus.cog.abstraction.impl.file.PermissionsImpl;
 import org.globus.cog.abstraction.interfaces.ExecutableObject;
 import org.globus.cog.abstraction.interfaces.FileFragment;
-import org.globus.cog.abstraction.interfaces.FileResource;
 import org.globus.cog.abstraction.interfaces.GridFile;
 import org.globus.cog.abstraction.interfaces.Permissions;
 import org.globus.cog.abstraction.interfaces.ProgressMonitor;
@@ -48,11 +47,11 @@
     private static Object mkdirsLock = new Object();
 
     public FileResourceImpl() {
-        super();
+        this(null);
     }
 
     public FileResourceImpl(String name) {
-        super(name, FileResource.Local, null, null);
+        super(name, "local", null, null);
     }
 
     /** set user's home directory as the current directory */




More information about the Swift-commit mailing list