[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Mon Jan 7 22:22:50 UTC 2008
gordonp
Mon Jan 7 17:22:49 EST 2008
Update of /home/repository/moby/moby-live/Java/src/Clients
In directory dev.open-bio.org:/tmp/cvs-serv15986/src/Clients
Modified Files:
ServletTester.java
Log Message:
Updated to deal with new MobyServlet.stringToPrimaryDataTemplate() signature (includes runtime template var map)
moby-live/Java/src/Clients ServletTester.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/ServletTester.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/Clients/ServletTester.java 2006/10/31 20:25:55 1.2
+++ /home/repository/moby/moby-live/Java/src/Clients/ServletTester.java 2008/01/07 22:22:48 1.3
@@ -103,13 +103,14 @@
System.exit(1);
}
+ Map<String,MobyDataTypeTemplate> map = new HashMap<String,MobyDataTypeTemplate>();
if(MobyServlet.MOBY_INPUT_PARAM.equals(paramName.getTextContent())){
String values = paramValue.getTextContent();
if(values != null && values.length() != 0){
StringTokenizer st = new StringTokenizer(values, ",");
// non-void param
while(st.hasMoreTokens()){
- inputTypes.add(MobyServlet.stringToPrimaryDataTemplate(st.nextToken()));
+ inputTypes.add(MobyServlet.stringToPrimaryDataTemplate(st.nextToken(), map));
}
}
}
@@ -119,7 +120,7 @@
StringTokenizer st = new StringTokenizer(values, ",");
// non-void param
while(st.hasMoreTokens()){
- outputTypes.add(MobyServlet.stringToPrimaryDataTemplate(st.nextToken()));
+ outputTypes.add(MobyServlet.stringToPrimaryDataTemplate(st.nextToken(), map));
}
}
}
More information about the MOBY-guts
mailing list