Remove redundant modifiers from interfaces (#14843)

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2023-04-18 13:07:04 +02:00
committed by GitHub
parent 24adc5aa12
commit 83cbe746d0
174 changed files with 806 additions and 774 deletions

View File

@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
*/
@NonNullByDefault
public interface Command<ResponseType extends Response<?>> {
public ResponseType execute() throws ResponseException, IOException, AuthenticationException;
ResponseType execute() throws ResponseException, IOException, AuthenticationException;
}

View File

@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
*/
@NonNullByDefault
public interface Request {
public String getRequestString() throws AuthenticationException;
String getRequestString() throws AuthenticationException;
}

View File

@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
*/
@NonNullByDefault
public interface Response<ResponseType> {
public ResponseType parse(String response) throws ResponseException;
ResponseType parse(String response) throws ResponseException;
}