commit | 9b55f6a67e8c1044c4c64fdfa3e76c3665080482 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Jan 10 13:33:27 2021 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jan 10 13:58:18 2021 +0100 |
tree | f8f0b6b4c37b91e36f8b9bdd816eaddb3f42df42 | |
parent | 2f52317a4d32775c0897e1dae85df5742b772a32 [diff] |
Fix errorprone errors Change-Id: I16040bf7ed7ffa44a05777f2e12295bde2b01547
diff --git a/src/main/java/com/gerritforge/gerrit/eventbroker/EventGsonProvider.java b/src/main/java/com/gerritforge/gerrit/eventbroker/EventGsonProvider.java index ff38d5c..be548fa 100644 --- a/src/main/java/com/gerritforge/gerrit/eventbroker/EventGsonProvider.java +++ b/src/main/java/com/gerritforge/gerrit/eventbroker/EventGsonProvider.java
@@ -52,7 +52,7 @@ } } - public class ProjectNameKeyDeserializer implements JsonDeserializer<Project.NameKey> { + public static class ProjectNameKeyDeserializer implements JsonDeserializer<Project.NameKey> { @Override public Project.NameKey deserialize(
diff --git a/src/main/java/com/gerritforge/gerrit/eventbroker/InProcessBrokerApi.java b/src/main/java/com/gerritforge/gerrit/eventbroker/InProcessBrokerApi.java index 894e4ed..c8daa0e 100644 --- a/src/main/java/com/gerritforge/gerrit/eventbroker/InProcessBrokerApi.java +++ b/src/main/java/com/gerritforge/gerrit/eventbroker/InProcessBrokerApi.java
@@ -89,7 +89,7 @@ } } - private class EventBusMessageRecorder { + private static class EventBusMessageRecorder { private EvictingQueue messagesQueue; public EventBusMessageRecorder(EvictingQueue messagesQueue) {