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 2016/08/24 04:14:08 UTC
[17/31] logging-log4j2 git commit: Don't need
@SuppressWarnings({"unchecked", "rawtypes"}) anymore.
Don't need @SuppressWarnings({"unchecked","rawtypes"}) anymore.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6ad8fca9
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6ad8fca9
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6ad8fca9
Branch: refs/heads/LOG4J2-1539
Commit: 6ad8fca98a16b0c8f5bed392901e86c9d5a26b92
Parents: 0b28bc2
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 22 23:09:51 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 22 23:09:51 2016 -0700
----------------------------------------------------------------------
.../logging/log4j/core/config/plugins/util/PluginRegistry.java | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6ad8fca9/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginRegistry.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginRegistry.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginRegistry.java
index 7e3e106..a657f1a 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginRegistry.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginRegistry.java
@@ -179,7 +179,6 @@ public class PluginRegistry {
final String className = entry.getClassName();
try {
final Class<?> clazz = loader.loadClass(className);
- @SuppressWarnings({"unchecked","rawtypes"})
final PluginType<?> type = new PluginType<>(entry, clazz, entry.getName());
types.add(type);
++pluginCount;