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

@@ -24,11 +24,11 @@ import org.openhab.binding.lutron.internal.discovery.project.ComponentType;
@NonNullByDefault
public interface KeypadComponent {
public int id();
int id();
public String channel();
String channel();
public String description();
String description();
public ComponentType type();
ComponentType type();
}

View File

@@ -23,12 +23,12 @@ public interface SocketSessionCallback {
*
* @param response a non-null, possibly empty response
*/
public void responseReceived(String response);
void responseReceived(String response);
/**
* Called when a command finished with an exception
*
* @param e a non-null exception
*/
public void responseException(Exception e);
void responseException(Exception e);
}

View File

@@ -29,19 +29,19 @@ import org.openhab.binding.lutron.internal.protocol.leap.dto.ZoneStatus;
@NonNullByDefault
public interface LeapMessageParserCallbacks {
public void validMessageReceived(String communiqueType);
void validMessageReceived(String communiqueType);
public void handleEmptyButtonGroupDefinition();
void handleEmptyButtonGroupDefinition();
public void handleZoneUpdate(ZoneStatus zoneStatus);
void handleZoneUpdate(ZoneStatus zoneStatus);
public void handleGroupUpdate(int groupNumber, String occupancyStatus);
void handleGroupUpdate(int groupNumber, String occupancyStatus);
public void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
public void handleMultipleDeviceDefintion(List<Device> deviceList);
void handleMultipleDeviceDefintion(List<Device> deviceList);
public void handleMultipleAreaDefinition(List<Area> areaList);
void handleMultipleAreaDefinition(List<Area> areaList);
public void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);
void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);
}

View File

@@ -23,11 +23,11 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
@NonNullByDefault
public interface RadioRAConnection {
public void open(String portName, int baud) throws RadioRAConnectionException;
void open(String portName, int baud) throws RadioRAConnectionException;
public void disconnect();
void disconnect();
public void write(String command);
void write(String command);
public void setListener(RadioRAFeedbackListener listener);
void setListener(RadioRAFeedbackListener listener);
}