[MOBY-guts] biomoby commit

Martin Senger senger at pub.open-bio.org
Mon Mar 13 16:12:32 UTC 2006


senger
Mon Mar 13 11:12:32 EST 2006
Update of /home/repository/moby/moby-live/Java/src/config/templates
In directory pub.open-bio.org:/tmp/cvs-serv21443/src/config/templates

Modified Files:
	ServicePISetTemplate.java 
Log Message:
changes in Moses templates of generated skeletons

moby-live/Java/src/config/templates ServicePISetTemplate.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java	2005/09/19 08:08:32	1.2
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java	2006/03/13 16:12:32	1.3
@@ -7,6 +7,12 @@
      *************************************************************************/
     public @DATATYPE@[] get_ at ESC_ARTICLE_NAME@Set (MobyJob request)
 	throws org.biomoby.shared.MobyException {
-	return (@DATATYPE@[])request.getDataSet ("@ARTICLE_NAME@", "@DATATYPE@");
+	MobyObject[]  objs_I_am_sorry_that_this_produces_a_warning = request.getDataSet ("@ARTICLE_NAME@", "@DATATYPE@");
+	synchronized (objs_I_am_sorry_that_this_produces_a_warning) {
+	    @DATATYPE@[] result_I_am_sorry_that_this_produces_a_warning = new @DATATYPE@ [objs_I_am_sorry_that_this_produces_a_warning.length];
+	    for (int i = 0; i < objs_I_am_sorry_that_this_produces_a_warning.length; i++)
+		result_I_am_sorry_that_this_produces_a_warning[i] = (@DATATYPE@)objs_I_am_sorry_that_this_produces_a_warning[i];
+	    return result_I_am_sorry_that_this_produces_a_warning;
+	}
     }
 




More information about the MOBY-guts mailing list