[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Wed Aug 31 23:57:34 UTC 2005
kawas
Wed Aug 31 19:57:34 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority
In directory pub.open-bio.org:/tmp/cvs-serv2216/org/biomoby/client/ui/graphical/servlet/lsid/authority
Modified Files:
LSIDAuthorityMetaData.java
Log Message:
added an expiration date to metadata
moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority LSIDAuthorityMetaData.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/LSIDAuthorityMetaData.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/LSIDAuthorityMetaData.java 2005/08/30 23:30:58 1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/LSIDAuthorityMetaData.java 2005/08/31 23:57:34 1.3
@@ -2,6 +2,7 @@
package org.biomoby.client.ui.graphical.servlet.lsid.authority;
import java.io.ByteArrayInputStream;
import java.io.IOException;
+import java.util.Date;
import org.biomoby.client.rdf.builder.RDFConfigure;
@@ -125,7 +126,7 @@
default:
throw new LSIDServerException(201, "1. Unknown LSID");
}
- return new MetadataResponse(new ByteArrayInputStream(data), null, MetadataResponse.RDF_FORMAT);
+ return new MetadataResponse(new ByteArrayInputStream(data), new Date(), MetadataResponse.RDF_FORMAT);
}
private String makeFirstUpperCase(String name) {
More information about the MOBY-guts
mailing list