Repository: logging-log4j2
Updated Branches:
  refs/heads/master 7f3ac8e9b -> 7df06cfa9


[LOG4J2-1993] Fix compiler warnings in LoggerConfigTest. Fix newly
introduced warnings. Closes #101.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/7df06cfa
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/7df06cfa
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/7df06cfa

Branch: refs/heads/master
Commit: 7df06cfa975f131ebc5058a7c007f30b42f99c79
Parents: 7f3ac8e
Author: Gary Gregory <[email protected]>
Authored: Fri Jul 28 12:00:09 2017 -0700
Committer: Gary Gregory <[email protected]>
Committed: Fri Jul 28 12:00:09 2017 -0700

----------------------------------------------------------------------
 .../apache/logging/log4j/core/config/LoggerConfigTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7df06cfa/log4j-core/src/test/java/org/apache/logging/log4j/core/config/LoggerConfigTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/LoggerConfigTest.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/LoggerConfigTest.java
index 087952f..a7cceff 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/LoggerConfigTest.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/LoggerConfigTest.java
@@ -54,8 +54,8 @@ public class LoggerConfigTest {
         };
         final LoggerConfig loggerConfig = createForProperties(all);
         final List<Property> list = loggerConfig.getPropertyList();
-        assertEquals("map and list contents equal", new 
HashSet<Property>(list),
-                            new 
HashSet<Property>(loggerConfig.getPropertyList()));
+        assertEquals("map and list contents equal", new HashSet<>(list),
+                            new HashSet<>(loggerConfig.getPropertyList()));
 
         final Object[] actualList = new Object[1];
         loggerConfig.setLogEventFactory(new LogEventFactory() {
@@ -79,8 +79,8 @@ public class LoggerConfigTest {
         };
         final LoggerConfig loggerConfig = createForProperties(all);
         final List<Property> list = loggerConfig.getPropertyList();
-        assertEquals("map and list contents equal", new 
HashSet<Property>(list), 
-                            new 
HashSet<Property>(loggerConfig.getPropertyList()));
+        assertEquals("map and list contents equal", new HashSet<>(list), 
+                            new HashSet<>(loggerConfig.getPropertyList()));
 
         final Object[] actualListHolder = new Object[1];
         loggerConfig.setLogEventFactory(new LogEventFactory() {

Reply via email to