commit | 44872c4209fb6d379b51d67c9d11be4206a66c41 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Tue Jun 23 10:57:45 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Tue Jun 23 10:58:02 2020 +0900 |
tree | 8714a6dd571b0c3e92f44aed0c9ff9fe4c95b3b2 | |
parent | a05d6ba0b7ba8f4694948b51a15aac09d4ac33a7 [diff] |
LfsSshAuth: Remove redundant 'throws' declaration UnloggedFailure is a subclass of Failure, which is already declared. Change-Id: I6db3c2f3a381f557d580c50af314292a039518c7
diff --git a/src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java b/src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java index 9fd57b9..3dd7a86 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java +++ b/src/main/java/com/googlesource/gerrit/plugins/lfs/auth/LfsSshAuth.java
@@ -44,7 +44,7 @@ } @Override - public String authenticate(CurrentUser user, List<String> args) throws UnloggedFailure, Failure { + public String authenticate(CurrentUser user, List<String> args) throws Failure { if (args.size() != 2) { throw new UnloggedFailure(1, "Unexpected number of arguments"); }