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 2017/08/15 21:31:31 UTC

logging-log4j2 git commit: Fix compiler warning.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 0f61307e2 -> 65e6d5593


Fix compiler warning.

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

Branch: refs/heads/master
Commit: 65e6d55932bac4be5d1e7b5cf24e5d9b4d8edfea
Parents: 0f61307
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue Aug 15 15:31:29 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue Aug 15 15:31:29 2017 -0600

----------------------------------------------------------------------
 .../org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/65e6d559/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
index f52f798..5efceb7 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
@@ -90,7 +90,7 @@ public class StoreConfiguration<T> {
         if (getClass() != obj.getClass()) {
             return false;
         }
-        final StoreConfiguration other = (StoreConfiguration) obj;
+        final StoreConfiguration<?> other = (StoreConfiguration<?>) obj;
         if (location == null) {
             if (other.location != null) {
                 return false;