}
adminp.replaceItemValue(WorkflowKernel.UNIQUEID, WorkflowKernel.generateUniqueID());
int interval = adminp.getItemValueInteger("numInterval");
if (interval <= 0) {
interval = DEFAULT_INTERVAL;
<BUG>adminp.replaceItemValue("numInterval", new Long(interval));
</BUG>
}
Calendar cal = Calendar.getInstance();
Date terminationDate = cal.getTime();

}
adminp.replaceItemValue(WorkflowKernel.UNIQUEID, WorkflowKernel.generateUniqueID());
int interval = adminp.getItemValueInteger("numInterval");
if (interval <= 0) {
interval = DEFAULT_INTERVAL;
adminp.replaceItemValue("numInterval",Long.valueOf(interval));
}
Calendar cal = Calendar.getInstance();
Date terminationDate = cal.getTime();
