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 2015/04/24 01:55:11 UTC
logging-log4j2 git commit: Do not hide field (param config ->
newConfig).
Repository: logging-log4j2
Updated Branches:
refs/heads/master 9a4583295 -> c1dc52938
Do not hide field (param config -> newConfig).
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c1dc5293
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c1dc5293
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c1dc5293
Branch: refs/heads/master
Commit: c1dc529381a1d573f2e0edcf648774873b5a1a74
Parents: 9a45832
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Apr 23 16:51:36 2015 -0700
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Apr 23 16:51:36 2015 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/logging/log4j/core/Logger.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c1dc5293/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java
index 94270ff..a8a740f 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/Logger.java
@@ -239,10 +239,10 @@ public class Logger extends AbstractLogger {
* volatile. Option 2 is used here as the performance cost is very low and it does a better
* job at documenting how it is used.
*
- * @param config The new Configuration.
+ * @param newConfig The new Configuration.
*/
- void updateConfiguration(final Configuration config) {
- this.config = new PrivateConfig(config, this);
+ void updateConfiguration(final Configuration newConfig) {
+ this.config = new PrivateConfig(newConfig, this);
}
/**