Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user