Browse Source

Merge branch 'main' into 4.0.x

pull/46210/head
Stéphane Nicoll 7 months ago
parent
commit
4a38627f7e
  1. 4
      spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/context/DynamicPropertySourceMethodsImporter.java

4
spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/context/DynamicPropertySourceMethodsImporter.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2024 the original author or authors.
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -50,7 +50,7 @@ class DynamicPropertySourceMethodsImporter { @@ -50,7 +50,7 @@ class DynamicPropertySourceMethodsImporter {
if (methods.isEmpty()) {
return;
}
methods.forEach((method) -> assertValid(method));
methods.forEach(this::assertValid);
RootBeanDefinition registrarDefinition = new RootBeanDefinition();
registrarDefinition.setBeanClass(DynamicPropertySourcePropertyRegistrar.class);
ConstructorArgumentValues arguments = new ConstructorArgumentValues();

Loading…
Cancel
Save