File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
log4j-core-test/src/test/java/org/apache/logging/log4j/core
log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3434import org .apache .logging .log4j .core .config .builder .api .ComponentBuilder ;
3535import org .apache .logging .log4j .core .config .builder .api .ConfigurationBuilder ;
3636import org .apache .logging .log4j .core .config .builder .api .ConfigurationBuilderFactory ;
37- import org .apache .logging .log4j .core .config .properties . PropertiesConfiguration ;
37+ import org .apache .logging .log4j .core .config .builder . impl . BuiltConfiguration ;
3838import org .apache .logging .log4j .core .test .junit .LoggerContextSource ;
3939import org .apache .logging .log4j .core .util .Source ;
4040import org .junit .jupiter .api .Test ;
@@ -45,8 +45,8 @@ public class MonitorResourcesTest {
4545
4646 @ Test
4747 void test_reconfiguration (@ TempDir (cleanup = CleanupMode .ON_SUCCESS ) final Path tempDir ) throws IOException {
48- final ConfigurationBuilder <PropertiesConfiguration > configBuilder =
49- ConfigurationBuilderFactory .newConfigurationBuilder (PropertiesConfiguration . class );
48+ final ConfigurationBuilder <BuiltConfiguration > configBuilder =
49+ ConfigurationBuilderFactory .newConfigurationBuilder ();
5050 final Path configFile = tempDir .resolve ("log4j.xml" );
5151 final Path externalResourceFile1 = tempDir .resolve ("external-resource-1.txt" );
5252 final Path externalResourceFile2 = tempDir .resolve ("external-resource-2.txt" );
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ public interface ConfigurationBuilder<T extends Configuration> extends Builder<T
6565 * Adds a top level component.
6666 * @param builder The ComponentBuilder with all of its attributes and sub components set.
6767 * @return this builder instance.
68+ * @since 2.25.0
6869 */
6970 default ConfigurationBuilder <T > addComponent (ComponentBuilder <?> builder ) {
7071 throw new UnsupportedOperationException ();
You can’t perform that action at this time.
0 commit comments