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

@@ -22,7 +22,7 @@ import org.openhab.binding.rfxcom.internal.messages.RFXComDeviceMessage;
* @author James Hewitt-Thomas - Convert to interface and add validation and matching
*/
public interface RFXComDeviceConfiguration {
public void parseAndValidate() throws RFXComInvalidParameterException;
void parseAndValidate() throws RFXComInvalidParameterException;
public boolean matchesMessage(RFXComDeviceMessage message);
boolean matchesMessage(RFXComDeviceMessage message);
}

View File

@@ -27,8 +27,8 @@ import org.openhab.core.types.Command;
* @author James Hewitt-Thomas - Switch to making messages for a specific command
*/
public interface RFXComMessageFactory {
public RFXComMessage createMessage(PacketType packetType, RFXComDeviceConfiguration config, ChannelUID channelUID,
RFXComMessage createMessage(PacketType packetType, RFXComDeviceConfiguration config, ChannelUID channelUID,
Command command) throws RFXComException;
public RFXComMessage createMessage(byte[] packet) throws RFXComException;
RFXComMessage createMessage(byte[] packet) throws RFXComException;
}