See gh-32215
This commit is contained in:
Johnny Lim 2022-09-02 01:01:48 +09:00 committed by Stephane Nicoll
parent cfdceba687
commit 2273191c03
4 changed files with 6 additions and 6 deletions

View File

@ -185,7 +185,7 @@ public class ApplicationRunner extends DefaultTask {
List<String> normalizedLines = new ArrayList<>();
for (String line : lines) {
Matcher matcher = pattern.matcher(line);
StringBuffer transformed = new StringBuffer();
StringBuilder transformed = new StringBuilder();
while (matcher.find()) {
matched = true;
matcher.appendReplacement(transformed, replacement);

View File

@ -31,7 +31,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Moritz Halbritter
*/
class HealthEndpointWebExtensionRuntimeHintsTest {
class HealthEndpointWebExtensionRuntimeHintsTests {
@Test
void shouldRegisterHints() {

View File

@ -30,13 +30,13 @@ import org.springframework.core.io.ClassPathResource;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link TemplateRuntimeHints}.$
* Tests for {@link TemplateRuntimeHints}.
*
* @author Stephane Nicoll
*/
class TemplateRuntimeHintsTests {
public static final Predicate<RuntimeHints> TEST_PREDICATE = RuntimeHintsPredicates.resource()
private static final Predicate<RuntimeHints> TEST_PREDICATE = RuntimeHintsPredicates.resource()
.forResource("templates/something/hello.html");
@Test

View File

@ -295,8 +295,8 @@ public final class PropertyMapper {
}
/**
* Complete the mapping for any non-filtered value by apply the given function to
* an existing instance and returning a new one. For filtered values, the
* Complete the mapping for any non-filtered value by applying the given function
* to an existing instance and returning a new one. For filtered values, the
* {@code instance} parameter is returned unchanged. The method is designed to be
* used with immutable objects.
* @param <R> the result type