From fcd66559913a4d133a900e8369d64e91d6f4e258 Mon Sep 17 00:00:00 2001 From: hmatt1 Date: Mon, 27 Jul 2020 20:36:40 -0500 Subject: [PATCH] Using this.startDate consistently --- .../jbpm/persistence/processinstance/ProcessInstanceInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jbpm-persistence/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/ProcessInstanceInfo.java b/jbpm-persistence/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/ProcessInstanceInfo.java index c7d0e02a0b..20503eef7c 100644 --- a/jbpm-persistence/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/ProcessInstanceInfo.java +++ b/jbpm-persistence/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/processinstance/ProcessInstanceInfo.java @@ -103,10 +103,10 @@ public ProcessInstanceInfo(ProcessInstance processInstance) { this.processId = processInstance.getProcessId(); if (((WorkflowProcessInstanceImpl) this.processInstance).getStartDate() == null) { - startDate = new Date(); + this.startDate = new Date(); ((WorkflowProcessInstanceImpl) processInstance).internalSetStartDate(this.startDate); } else { - startDate = ((WorkflowProcessInstanceImpl) this.processInstance).getStartDate(); + this.startDate = ((WorkflowProcessInstanceImpl) this.processInstance).getStartDate(); } }