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