[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Mar 15 17:57:07 UTC 2006


kawas
Wed Mar 15 12:57:07 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory pub.open-bio.org:/tmp/cvs-serv319/org/biomoby/registry/rdfagent/verifier

Modified Files:
	MobyServiceComparator.java 
Log Message:
add comparing or lsid for the services

moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier MobyServiceComparator.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/MobyServiceComparator.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/registry/rdfagent/verifier/MobyServiceComparator.java	2006/02/20 05:51:10	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/MobyServiceComparator.java	2006/03/15 17:57:07	1.3
@@ -123,6 +123,14 @@
 					+ service2.getDescription() + ".");
 			isDifferent = true;
 		}
+		
+		// compare lsids
+		if (!service1.getLSID().equals(service2.getLSID())) {
+			addDifference("Service1 has LSID "
+					+ service1.getLSID() + " which is different from "
+					+ service2.getLSID() + ".");
+			isDifferent = true;
+		}
 
 		// compare email
 		if (!service1.getEmailContact().equals(service2.getEmailContact())) {




More information about the MOBY-guts mailing list