You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2022/05/28 18:30:52 UTC

[logging-log4j2] branch master updated: Revert commented lines committed that don't belong here

This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new bab971078c Revert commented lines committed that don't belong here
bab971078c is described below

commit bab971078c044a71d576bd3db61b7f7c8c6d07b8
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Sat May 28 13:30:37 2022 -0500

    Revert commented lines committed that don't belong here
    
    Go home, IntelliJ; you're drunk.
    
    Signed-off-by: Matt Sicker <ma...@apache.org>
---
 .../test/java/org/apache/logging/log4j/plugins/di/InjectorTest.java    | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/di/InjectorTest.java b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/di/InjectorTest.java
index 818c8abecf..ede8a33533 100644
--- a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/di/InjectorTest.java
+++ b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/di/InjectorTest.java
@@ -843,7 +843,6 @@ class InjectorTest {
         @Namespace("Bean") @Inject Stream<BaseBean> stream;
         @Namespace("Bean") @Inject List<BaseBean> list;
         @Namespace("Bean") @Inject Map<String, BaseBean> map;
-//        @Namespace("Bean") @Inject Supplier<BaseBean> supplier;
     }
 
     @Test
@@ -859,8 +858,6 @@ class InjectorTest {
         assertThat(instance.map).hasSize(3);
         assertThat(instance.map.get("gamma")).isInstanceOf(GammaBean.class);
         assertThat(instance.optional).get().isInstanceOf(BetaBean.class);
-//        assertThat(instance.supplier).isNotNull();
-//        assertThat(instance.supplier.get()).isInstanceOf(BetaBean.class);
     }
 
     @Configurable(deferChildren = true)