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

@@ -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);
}

View File

@@ -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();
}

View File

@@ -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();
}

View File

@@ -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);
}