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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Feb 17 09:10:22 CST 2009


Author: benc
Date: 2009-02-17 09:10:21 -0600 (Tue, 17 Feb 2009)
New Revision: 2558

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/CacheFunction.java
Log:
Remove unused CacheEntry inner class from CacheFunction.

Modified: trunk/src/org/griphyn/vdl/karajan/lib/CacheFunction.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/CacheFunction.java	2009-02-17 15:09:17 UTC (rev 2557)
+++ trunk/src/org/griphyn/vdl/karajan/lib/CacheFunction.java	2009-02-17 15:10:21 UTC (rev 2558)
@@ -28,26 +28,4 @@
 		}
 		return cache;
 	}
-
-	public static class CacheEntry {
-		public String fullPath;
-		public Object host;
-
-		public CacheEntry(String fullPath, Object host) {
-			this.fullPath = fullPath;
-			this.host = host;
-		}
-
-		public boolean equals(Object other) {
-			if (other instanceof CacheEntry) {
-				CacheEntry ce = (CacheEntry) other;
-				return fullPath.equals(ce.fullPath) && host.equals(ce.host);
-			}
-			return false;
-		}
-
-		public int hashCode() {
-			return fullPath.hashCode() + host.hashCode();
-		}
-	}
 }




More information about the Swift-commit mailing list