You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/08/31 21:17:52 UTC

logging-log4j2 git commit: @SuppressWarnings("unchecked") no needed.

Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-952 b9e6b2de8 -> 2d9a835ac


@SuppressWarnings("unchecked") no needed.

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

Branch: refs/heads/LOG4J2-952
Commit: 2d9a835ac79564b283d3db0b1d237ff21a3d5df4
Parents: b9e6b2d
Author: ggregory <gg...@apache.org>
Authored: Mon Aug 31 12:17:50 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Aug 31 12:17:50 2015 -0700

----------------------------------------------------------------------
 .../core/config/properties/PropertiesConfigurationFactory.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/2d9a835a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.java
index 8259297..4a2da17 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory.java
@@ -324,7 +324,7 @@ public class PropertiesConfigurationFactory extends ConfigurationFactory {
             throw new ConfigurationException("No type attribute provided for component " + key);
         }
         properties.remove(CONFIG_TYPE);
-        @SuppressWarnings("unchecked") ComponentBuilder<?> componentAssembler = parent.getBuilder().newComponent(name, type);
+        ComponentBuilder<?> componentAssembler = parent.getBuilder().newComponent(name, type);
         processRemainingProperties(componentAssembler, name, properties);
         return componentAssembler;
     }