Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -29,27 +29,27 @@ public interface RegoConnection {
|
||||
* Connect to the receiver. Return true if the connection has succeeded or if already connected.
|
||||
*
|
||||
**/
|
||||
public void connect() throws IOException;
|
||||
void connect() throws IOException;
|
||||
|
||||
/**
|
||||
* Return true if this manager is connected to the AVR.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean isConnected();
|
||||
boolean isConnected();
|
||||
|
||||
/**
|
||||
* Closes the connection.
|
||||
**/
|
||||
public void close();
|
||||
void close();
|
||||
|
||||
/**
|
||||
* Returns an output stream for this connection.
|
||||
*/
|
||||
public OutputStream outputStream() throws IOException;
|
||||
OutputStream outputStream() throws IOException;
|
||||
|
||||
/**
|
||||
* Returns an input stream for this connection.
|
||||
*/
|
||||
public InputStream inputStream() throws IOException;
|
||||
InputStream inputStream() throws IOException;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
*/
|
||||
@NonNullByDefault
|
||||
public interface ResponseParser<T> {
|
||||
public int responseLength();
|
||||
int responseLength();
|
||||
|
||||
public T parse(byte[] buffer) throws Rego6xxProtocolException;
|
||||
T parse(byte[] buffer) throws Rego6xxProtocolException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user