made field final; javadoc

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

Branch: refs/heads/LOG4J2-1161
Commit: 86e0a0abf109817cd25c3029a006702cf2d54237
Parents: 7ffd4cf
Author: rpopma <rpo...@apache.org>
Authored: Fri Oct 23 03:11:17 2015 +0900
Committer: rpopma <rpo...@apache.org>
Committed: Fri Oct 23 03:11:17 2015 +0900

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/async/AsyncLogger.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/86e0a0ab/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
index 486bf69..058a642 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
@@ -64,7 +64,7 @@ public class AsyncLogger extends Logger {
 
     private static final Clock CLOCK = ClockFactory.getClock();
     private static volatile NanoClock nanoClock = new DummyNanoClock();
-    private AsyncLoggerHelper helper;
+    private final AsyncLoggerHelper helper;
 
     /**
      * Constructs an {@code AsyncLogger} with the specified context, name and 
message factory.
@@ -72,10 +72,10 @@ public class AsyncLogger extends Logger {
      * @param context context of this logger
      * @param name name of this logger
      * @param messageFactory message factory of this logger
-     * @param helper 
+     * @param helper helper class that logging can be delegated to. This 
object owns the Disruptor.
      */
     public AsyncLogger(final LoggerContext context, final String name, final 
MessageFactory messageFactory,
-            AsyncLoggerHelper helper) {
+            final AsyncLoggerHelper helper) {
         super(context, name, messageFactory);
         this.helper = helper;
     }

Reply via email to