Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -23,11 +23,11 @@ import org.openhab.binding.ecovacs.internal.api.impl.EcovacsApiImpl;
|
||||
*/
|
||||
@NonNullByDefault
|
||||
public interface EcovacsApi {
|
||||
public static EcovacsApi create(HttpClient httpClient, EcovacsApiConfiguration configuration) {
|
||||
static EcovacsApi create(HttpClient httpClient, EcovacsApiConfiguration configuration) {
|
||||
return new EcovacsApiImpl(httpClient, configuration);
|
||||
}
|
||||
|
||||
public void loginAndGetAccessToken() throws EcovacsApiException, InterruptedException;
|
||||
void loginAndGetAccessToken() throws EcovacsApiException, InterruptedException;
|
||||
|
||||
public List<EcovacsDevice> getDevices() throws EcovacsApiException, InterruptedException;
|
||||
List<EcovacsDevice> getDevices() throws EcovacsApiException, InterruptedException;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.openhab.binding.ecovacs.internal.api.model.DeviceCapability;
|
||||
*/
|
||||
@NonNullByDefault
|
||||
public interface EcovacsDevice {
|
||||
public interface EventListener {
|
||||
interface EventListener {
|
||||
void onFirmwareVersionChanged(EcovacsDevice device, String fwVersion);
|
||||
|
||||
void onBatteryLevelUpdated(EcovacsDevice device, int newLevelPercent);
|
||||
|
||||
Reference in New Issue
Block a user