commit | d11856e84243a027ed78bd70cb51dcb2b07ba158 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Dec 25 13:29:23 2021 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sat Dec 25 13:31:06 2021 +0100 |
tree | 246f6621faa808ab1d30a35a603759a8c46fb81c | |
parent | 753a4c3eefad31987436e074560ef53721bfafbf [diff] |
Fix UnusedVariable bug pattern flagged by error prone Details: https://errorprone.info/bugpattern/UnusedVariable Change-Id: I3f91cd9e3e61918539011c63fc0c2f63a43f2e93
diff --git a/src/test/java/com/googlesource/gerrit/plugins/webhooks/PostTaskTest.java b/src/test/java/com/googlesource/gerrit/plugins/webhooks/PostTaskTest.java index a2aed68..54aac2f 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/webhooks/PostTaskTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/webhooks/PostTaskTest.java
@@ -48,8 +48,6 @@ @Mock private RemoteConfig remote; - @Mock private Configuration cfg; - @Mock private HttpSession session; @Mock private HttpSession.Factory sessionFactory;