Skip to content

Commit 7464b4f

Browse files
authored
Merge pull request #468 from hmcts/renovate/checkstyle-11.x
Update dependency checkstyle to v11
2 parents 97e7308 + 0e8ce5c commit 7464b4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ tasks.register('tests') {
104104

105105
checkstyle {
106106
maxWarnings = 0
107-
toolVersion = '8.45.1'
107+
toolVersion = '11.0.0'
108108
getConfigDirectory().set(new File(rootDir, 'config/checkstyle'))
109109
}
110110

src/test/java/uk/gov/hmcts/reform/wastandalonetaskbpmn/CamundaProcessEngineBaseUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ public ProcessInstance startCreateTaskProcessWithBusinessKeyWithoutTenentId(Map<
6363
*/
6464
public ProcessInstance createTask(boolean withDelayUntil) {
6565

66-
String delayUntilValue = now().plusSeconds(1).format(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT_PATTERN));
67-
6866
ZonedDateTime dueDate = now().plusDays(7);
6967

7068
Map<String, Object> variables = new HashMap<>();
@@ -82,6 +80,8 @@ public ProcessInstance createTask(boolean withDelayUntil) {
8280
variables.put("workingDaysAllowed", 2);
8381
variables.put("isDuplicate", false);
8482

83+
String delayUntilValue = now().plusSeconds(1).format(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT_PATTERN));
84+
8585
if (withDelayUntil) {
8686
variables.put("delayUntil", delayUntilValue);
8787
}

0 commit comments

Comments
 (0)