[Swift-commit] cog r3458

swift at ci.uchicago.edu swift at ci.uchicago.edu
Sat Aug 18 01:45:12 CDT 2012


------------------------------------------------------------------------
r3458 | hategan | 2012-08-18 01:43:13 -0500 (Sat, 18 Aug 2012) | 1 line

use actual get command for names of buffers instead of the previous random id
------------------------------------------------------------------------
Index: modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalIOProvider.java
===================================================================
--- modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalIOProvider.java	(revision 3457)
+++ modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalIOProvider.java	(working copy)
@@ -160,7 +160,7 @@
         }
         
         public String toString() {
-            return "LR-" + System.identityHashCode(this);
+            return "LR-" + cb;
         }
 
         public void start() throws IOException {
Index: modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/buffers/ReadBuffer.java
===================================================================
--- modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/buffers/ReadBuffer.java	(revision 3457)
+++ modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/buffers/ReadBuffer.java	(working copy)
@@ -133,7 +133,7 @@
     }
 
     public String getName() {
-        return "RB-" + System.identityHashCode(this);
+        return "RB-" + cb;
     }
 
     public boolean isAlive() {



More information about the Swift-commit mailing list