Remove redundant throws clauses
Removes exceptions that are declared in a method's signature but never thrown by the method itself or its implementations/derivatives.
This commit is contained in:
@@ -45,12 +45,12 @@ public class UsernameEqualsPasswordLoginModule implements LoginModule {
|
||||
// ========================================================================================================
|
||||
|
||||
@Override
|
||||
public boolean abort() throws LoginException {
|
||||
public boolean abort() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean commit() throws LoginException {
|
||||
public boolean commit() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ public class UsernameEqualsPasswordLoginModule implements LoginModule {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean logout() throws LoginException {
|
||||
public boolean logout() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user