commit | 5ad6990de14227b87679b15a5197f4af6c3ba3bd | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Wed Oct 21 00:19:03 2015 +0200 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Wed Oct 21 00:19:03 2015 +0200 |
tree | dff2bd450668d5654814a9707a411a643f0e8232 | |
parent | a7d0044574c0f27653567f406ee15e95c5bb7d69 [diff] |
Follow upstream's renaming of method to get current user In gerrit's 85f0487714e005b478eee5b28efab22bf5b7a5e2 commit, the getCurrentUser accessor got renamed to getUser. We follow this move to allow compilation against gerrit master. Bug: Issue 3621 Change-Id: Iebec4cf5ecd1dedb1e37243e89550eeb6a9e6cfb
diff --git a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java index 3f63b79..2beee41 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java +++ b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
@@ -82,7 +82,7 @@ .setContext(new RequestContext() { @Override - public CurrentUser getCurrentUser() { + public CurrentUser getUser() { return pluginUser; }