[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Tue Nov 8 00:02:08 UTC 2005
kawas
Mon Nov 7 19:02:08 EST 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory pub.open-bio.org:/tmp/cvs-serv25028/org/biomoby/registry/rdfagent/verifier
Modified Files:
ServiceDescrParser.java
Log Message:
java 1.4 fix
moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier ServiceDescrParser.java,1.10,1.11
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServiceDescrParser.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServiceDescrParser.java 2005/11/07 22:47:06 1.10
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServiceDescrParser.java 2005/11/08 00:02:08 1.11
@@ -261,7 +261,6 @@
while (sit.hasNext()) {
Statement s = sit.nextStatement();
Resource r = (Resource) s.getObject();
- System.out.println(":" + s.toString());
StmtIterator ins = r.listProperties(FetaModelRDF.inputParameter);
StmtIterator outs = r.listProperties(FetaModelRDF.outputParameter);
while (ins.hasNext()) {
@@ -475,7 +474,7 @@
while (enumerations.hasNext()) {
enums+=enumerations.nextStatement().getLiteral().getValue().toString()+",";
}
- if (enums.contains(","))
+ if (enums.indexOf(",") > 0)
enums= enums.substring(0, enums.lastIndexOf(","));
else
enums = null;
More information about the MOBY-guts
mailing list