Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
*/
|
||||
@NonNullByDefault
|
||||
public interface Request {
|
||||
public String getRequestString() throws AuthenticationException;
|
||||
String getRequestString() throws AuthenticationException;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user