Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -18,5 +18,5 @@ package org.openhab.binding.jeelink.internal;
|
||||
* @author Volker Bier - Initial contribution
|
||||
*/
|
||||
public interface JeeLinkReadingConverter<R extends Reading> {
|
||||
public R createReading(String inputLine);
|
||||
R createReading(String inputLine);
|
||||
}
|
||||
|
||||
@@ -18,9 +18,9 @@ package org.openhab.binding.jeelink.internal;
|
||||
* @author Volker Bier - Initial contribution
|
||||
*/
|
||||
public interface ReadingHandler<R extends Reading> {
|
||||
public void handleReading(R r);
|
||||
void handleReading(R r);
|
||||
|
||||
public Class<R> getReadingClass();
|
||||
Class<R> getReadingClass();
|
||||
|
||||
public String getSensorType();
|
||||
String getSensorType();
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.openhab.binding.jeelink.internal;
|
||||
* @author Volker Bier - Initial contribution
|
||||
*/
|
||||
public interface ReadingPublisher<R extends Reading> {
|
||||
public void publish(R reading);
|
||||
void publish(R reading);
|
||||
|
||||
public void dispose();
|
||||
void dispose();
|
||||
}
|
||||
|
||||
@@ -39,5 +39,5 @@ public interface ConnectionListener {
|
||||
/**
|
||||
* Called whenever input has been read from the connection.
|
||||
*/
|
||||
public void handleInput(String input);
|
||||
void handleInput(String input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user