jboss-logging/0001-SLF4j-1.7-upgrade.patch
2014-07-01 14:45:50 +02:00

25 lines
894 B
Diff

From 43ff272e418b7c2699d60fc930d5c97d8a4ebd82 Mon Sep 17 00:00:00 2001
From: Marek Goldmann <marek.goldmann@gmail.com>
Date: Tue, 1 Jul 2014 14:26:35 +0200
Subject: [PATCH] SLF4j 1.7 upgrade
---
src/main/java/org/jboss/logging/Slf4jLoggerProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
index 0eedf16..4434838 100644
--- a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
+++ b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
@@ -55,6 +55,6 @@ final class Slf4jLoggerProvider extends AbstractLoggerProvider implements Logger
@SuppressWarnings({ "unchecked" })
public Map<String, Object> getMdcMap() {
- return MDC.getCopyOfContextMap();
+ return (Map) MDC.getCopyOfContextMap();
}
}
--
1.9.3