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,7 +24,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
*/
@NonNullByDefault
public interface LocationEx extends Location {
public Optional<String> getCountry();
Optional<String> getCountry();
public Optional<String> getTimezone();
Optional<String> getTimezone();
}

View File

@@ -24,9 +24,10 @@ import org.openhab.binding.netatmo.internal.api.data.ModuleType;
*/
@NonNullByDefault
public interface NAModule {
public String getId();
String getId();
public @Nullable String getName();
@Nullable
String getName();
public ModuleType getType();
ModuleType getType();
}