Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J-1181 3dadd5f74 -> 7c573003a


Fix compilation issue


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

Branch: refs/heads/LOG4J-1181
Commit: 7c573003aad2bfdf2bee9bc2c7598984d1a147a0
Parents: 3dadd5f
Author: Mikael StÃ¥ldal <[email protected]>
Authored: Sun Jun 12 14:01:50 2016 +0200
Committer: Mikael StÃ¥ldal <[email protected]>
Committed: Sun Jun 12 14:01:50 2016 +0200

----------------------------------------------------------------------
 .../src/main/scala/org/apache/logging/log4j/scala/Logger.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7c573003/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
----------------------------------------------------------------------
diff --git 
a/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
 
b/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
index a6a7a7c..1453841 100644
--- 
a/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
+++ 
b/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
@@ -310,7 +310,7 @@ class Logger(val delegate: ExtendedLogger) {
 
   def name: String = delegate.getName
 
-  def messageFactory: MessageFactory2 = delegate.getMessageFactory
+  def messageFactory: MessageFactory2 = 
delegate.getMessageFactory.asInstanceOf[MessageFactory2]
 
   /** Always logs a message at the specified level. It is the responsibility 
of the caller to ensure the specified
     * level is enabled.

Reply via email to