[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Dec 7 16:37:36 UTC 2006
gordonp
Thu Dec 7 11:37:36 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool
In directory dev.open-bio.org:/tmp/cvs-serv29629/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool
Modified Files:
MobyInputOutputData.java
Log Message:
Updates to secondary article handling
moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool MobyInputOutputData.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/MobyInputOutputData.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/applets/serviceInstanceCreationTool/MobyInputOutputData.java 2005/07/19 15:44:10 1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/MobyInputOutputData.java 2006/12/07 16:37:36 1.3
@@ -173,7 +173,11 @@
else
data = new MobySecondaryData("un-named");
- data.setDataType(dataTypeName);
+ try{
+ data.setDataType(dataTypeName);
+ } catch(Exception e){
+ e.printStackTrace(); // will default to string if unrecognized
+ }
if (dataDefault != null && !dataDefault.equals(""))
data.setDefaultValue(dataDefault);
if (min != null && !min.equals(""))
More information about the MOBY-guts
mailing list