[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Dec 6 23:45:28 UTC 2007


gordonp
Thu Dec  6 18:45:28 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta
In directory dev.open-bio.org:/tmp/cvs-serv31354/src/main/org/biomoby/registry/meta

Modified Files:
	RegistryCache.java 
Log Message:
int -> long for cache expiry
moby-live/Java/src/main/org/biomoby/registry/meta RegistryCache.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta/RegistryCache.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta/RegistryCache.java	2007/12/05 17:33:10	1.5
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta/RegistryCache.java	2007/12/06 23:45:28	1.6
@@ -62,7 +62,7 @@
      * @param allowedAgeMillis if the hached file exists and is less than this many milliseconds old, a new version will not be downloaded, if zero or negative, overwrite is forced.
      * @return the file where the resource has been cached
      */
-    public static File cacheRegistryOntology(Registry reg, String resourceName, int allowedAgeMillis) throws Exception{
+    public static File cacheRegistryOntology(Registry reg, String resourceName, long allowedAgeMillis) throws Exception{
 	if(resourceName == null){
 	    throw new NullPointerException("The resource to be cached was null");
 	}




More information about the MOBY-guts mailing list