[jboss-cvs] jboss-seam/examples/quartz/src/org/jboss/seam/example/quartz ...
Peter Muir
peter at bleepbleep.org.uk
Mon Oct 15 07:00:25 EDT 2007
User: pmuir
Date: 07/10/15 07:00:25
Modified: examples/quartz/src/org/jboss/seam/example/quartz
PaymentController.java
Log:
Allow expiration to be set
Revision Changes Path
1.9 +0 -4 jboss-seam/examples/quartz/src/org/jboss/seam/example/quartz/PaymentController.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PaymentController.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/quartz/src/org/jboss/seam/example/quartz/PaymentController.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- PaymentController.java 14 Oct 2007 17:43:42 -0000 1.8
+++ PaymentController.java 15 Oct 2007 11:00:25 -0000 1.9
@@ -10,8 +10,6 @@
import org.jboss.seam.log.Log;
import org.jboss.seam.async.QuartzTriggerHandle;
-import java.util.Date;
-
@Name("paymentHome")
public class PaymentController
extends EntityHome<Payment>
@@ -43,7 +41,6 @@
String result = persist();
Payment payment = getInstance();
- payment.setPaymentDate (new Date ());
log.info("scheduling instance #0", payment);
QuartzTriggerHandle handle = processor.schedulePayment(payment.getPaymentDate(),
@@ -61,7 +58,6 @@
String result = persist();
Payment payment = getInstance();
- payment.setPaymentDate (new Date ());
log.info("scheduling instance #0", payment);
QuartzTriggerHandle handle = processor.schedulePayment(payment.getPaymentDate(),
More information about the jboss-cvs-commits
mailing list