[MOBY-guts] biomoby commit

Martin Senger senger at dev.open-bio.org
Mon Mar 3 14:11:08 UTC 2008


senger
Mon Mar  3 09:11:08 EST 2008
Update of /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service
In directory dev.open-bio.org:/tmp/cvs-serv4034/src/samples/org/jmoby/tutorial/service

Modified Files:
	TestServiceNotesImpl.java 
Log Message:
Remote deployment scripts fixed.

moby-live/Java/src/samples/org/jmoby/tutorial/service TestServiceNotesImpl.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/TestServiceNotesImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/TestServiceNotesImpl.java	2007/05/29 03:51:46	1.3
+++ /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/TestServiceNotesImpl.java	2008/03/03 14:11:08	1.4
@@ -36,9 +36,11 @@
 			   MobyPackage outputContext)
 	throws MobyException {
 	MobyDateTime input = get_input_date (request);
-	String date = input.getValue();
-	outputContext.addException (ServiceException.info ("Input date was " + date),
-				    request);
+	if (input != null) {
+	    String date = input.getValue();
+	    outputContext.addException (ServiceException.info ("Input date was " + date),
+					request);
+	}
 
 	StringBuilder buf = new StringBuilder();
 	buf.append ("This is a general service note.\n");




More information about the MOBY-guts mailing list