diff options
author | Edwin Kempin <ekempin@google.com> | 2018-06-06 10:18:30 +0200 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2018-06-07 08:20:34 +0900 |
commit | da3980a431ba9138c9af91b6c3d9eaed4f4bc781 (patch) | |
tree | 010809637f19d2afabe7f922d56227cd10126005 | |
parent | 10348cfa5c12ffcb51337c64a1be8a8d407e7cf1 (diff) |
Make loggers private
Loggers shouldn't be shared between classes and hence they should be
private.
Change-Id: Iadd54c73455665b53cf9b58918b2e8c5cf19357e
Signed-off-by: Edwin Kempin <ekempin@google.com>
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java | 2 | ||||
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java index 0c3e158..43d5c5e 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java @@ -158,7 +158,7 @@ public abstract class PushResultProcessing { } public static class GitUpdateProcessing extends PushResultProcessing { - static final Logger log = LoggerFactory.getLogger(GitUpdateProcessing.class); + private static final Logger log = LoggerFactory.getLogger(GitUpdateProcessing.class); private final EventDispatcher dispatcher; diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java index bec4f20..ee1f16d 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java @@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory; @Singleton public class ReplicationFileBasedConfig implements ReplicationConfig { - static final Logger log = LoggerFactory.getLogger(ReplicationFileBasedConfig.class); + private static final Logger log = LoggerFactory.getLogger(ReplicationFileBasedConfig.class); private List<Destination> destinations; private Path cfgPath; private boolean replicateAllOnPluginStart; |