Skip to content

Commit 73a5229

Browse files
committed
Polish
1 parent 370c8e0 commit 73a5229

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

buildSrc/src/main/java/org/springframework/build/api/ApiDiffPlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package org.springframework.build.api;
1718

1819
import java.io.File;
@@ -138,4 +139,4 @@ private File getOutputFile(String baseLineVersion, Project project) {
138139
return project.file(outDir.resolve(project.getName() + ".html").toString());
139140
}
140141

141-
}
142+
}

buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentArgumentProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
package org.springframework.build.hint;
1818

19+
import java.util.Collections;
20+
1921
import org.gradle.api.file.ConfigurableFileCollection;
2022
import org.gradle.api.provider.SetProperty;
2123
import org.gradle.api.tasks.Classpath;
2224
import org.gradle.api.tasks.Input;
2325
import org.gradle.process.CommandLineArgumentProvider;
2426

25-
import java.util.Collections;
26-
2727
/**
2828
* Argument provider for registering the runtime hints agent with a Java process.
2929
*/
@@ -45,4 +45,4 @@ default Iterable<String> asArguments() {
4545
getExcludedPackages().get().forEach(packageName -> packages.append('-').append(packageName).append(','));
4646
return Collections.singleton("-javaagent:" + getAgentJar().getSingleFile() + "=" + packages);
4747
}
48-
}
48+
}

buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ public void apply(Project project) {
5353
});
5454
}
5555

56-
}
56+
}

buildSrc/src/main/java/org/springframework/build/shadow/ShadowSource.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2002-2023 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.springframework.build.shadow;
218

319
import java.io.File;

0 commit comments

Comments
 (0)