Browse Source

Merge branch '4.0.x'

Closes gh-49301
pull/49306/head
Stéphane Nicoll 3 weeks ago
parent
commit
6bf72956fd
  1. 2
      buildSrc/src/main/java/org/springframework/boot/build/bom/BomResolver.java
  2. 2
      core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/info/ProjectInfoAutoConfiguration.java
  3. 2
      core/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java
  4. 2
      core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/ColorConverter.java
  5. 2
      loader/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java

2
buildSrc/src/main/java/org/springframework/boot/build/bom/BomResolver.java

@ -199,7 +199,7 @@ class BomResolver { @@ -199,7 +199,7 @@ class BomResolver {
private static final class Node {
protected final XPath xpath;
private final XPath xpath;
private final org.w3c.dom.Node delegate;

2
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/info/ProjectInfoAutoConfiguration.java

@ -75,7 +75,7 @@ public final class ProjectInfoAutoConfiguration { @@ -75,7 +75,7 @@ public final class ProjectInfoAutoConfiguration {
loadFrom(this.properties.getBuild().getLocation(), "build", this.properties.getBuild().getEncoding()));
}
protected Properties loadFrom(Resource location, String prefix, Charset encoding) throws IOException {
private Properties loadFrom(Resource location, String prefix, Charset encoding) throws IOException {
prefix = prefix.endsWith(".") ? prefix : prefix + ".";
Properties source = loadSource(location, encoding);
Properties target = new Properties();

2
core/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java

@ -310,7 +310,7 @@ public final class TestPropertyValues { @@ -310,7 +310,7 @@ public final class TestPropertyValues {
return this.sourceClass;
}
protected String applySuffix(String name) {
private String applySuffix(String name) {
return (this.suffix != null) ? name + "-" + this.suffix : name;
}

2
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/ColorConverter.java

@ -110,7 +110,7 @@ public final class ColorConverter extends LogEventPatternConverter { @@ -110,7 +110,7 @@ public final class ColorConverter extends LogEventPatternConverter {
}
}
protected void appendAnsiString(StringBuilder toAppendTo, String in, AnsiElement element) {
private void appendAnsiString(StringBuilder toAppendTo, String in, AnsiElement element) {
toAppendTo.append(AnsiOutput.toString(element, in));
}

2
loader/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java

@ -73,7 +73,7 @@ public final class BuildPropertiesWriter { @@ -73,7 +73,7 @@ public final class BuildPropertiesWriter {
}
}
protected Properties createBuildInfo(ProjectDetails project) {
private Properties createBuildInfo(ProjectDetails project) {
Properties properties = CollectionFactory.createSortedProperties(true);
addIfHasValue(properties, "build.group", project.getGroup());
addIfHasValue(properties, "build.artifact", project.getArtifact());

Loading…
Cancel
Save