Skip to content

Commit d50c05f

Browse files
committed
apply format
1 parent 09d957f commit d50c05f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugin-maven/src/main/java/com/diffplug/spotless/maven/generic/LicenseHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2020 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

testlib/src/test/java/com/diffplug/spotless/generic/LicenseHeaderStepTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -125,8 +125,8 @@ void should_remove_header_when_empty() throws Throwable {
125125
@Test
126126
void should_skip_lines_matching_predefined_pattern() throws Throwable {
127127
StepHarness.forStep(LicenseHeaderStep.headerDelimiter("<!--\n -- This is a fake license header.\n -- All rights reserved.\n -->", "^(?!<!--|\\s+--).*$")
128-
.withSkipLinesMatching("(?i)^(<\\?xml[^>]+>|<!doctype[^>]+>)$").build())
129-
.testResource("license/SkipLines.test", "license/SkipLinesHasLicense.test");
128+
.withSkipLinesMatching("(?i)^(<\\?xml[^>]+>|<!doctype[^>]+>)$").build())
129+
.testResource("license/SkipLines.test", "license/SkipLinesHasLicense.test");
130130
}
131131

132132
private String licenceWithAddress() {

0 commit comments

Comments
 (0)