Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -50,19 +50,19 @@ public interface VeluxBridgeInstance {
|
||||
*
|
||||
* @return VeluxBridgeConfiguration containing all bridge configuration settings.
|
||||
*/
|
||||
public VeluxBridgeConfiguration veluxBridgeConfiguration();
|
||||
VeluxBridgeConfiguration veluxBridgeConfiguration();
|
||||
|
||||
/**
|
||||
* Information retrieved by {@link org.openhab.binding.velux.internal.bridge.VeluxBridgeActuators#getProducts}
|
||||
*
|
||||
* @return VeluxExistingProducts containing all registered products, or <B>null</B> in case of any error.
|
||||
*/
|
||||
public VeluxExistingProducts existingProducts();
|
||||
VeluxExistingProducts existingProducts();
|
||||
|
||||
/**
|
||||
* Information retrieved by {@link org.openhab.binding.velux.internal.bridge.VeluxBridgeScenes#getScenes}
|
||||
*
|
||||
* @return VeluxExistingScenes containing all registered scenes, or <B>null</B> in case of any error.
|
||||
*/
|
||||
public VeluxExistingScenes existingScenes();
|
||||
VeluxExistingScenes existingScenes();
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public interface VeluxBridgeProvider {
|
||||
* @return true if communication was successful, and false otherwise.
|
||||
*/
|
||||
|
||||
public boolean bridgeCommunicate(BridgeCommunicationProtocol communication);
|
||||
boolean bridgeCommunicate(BridgeCommunicationProtocol communication);
|
||||
|
||||
/**
|
||||
* Returns the class {@link BridgeAPI} which summarizes all interfacing methods.
|
||||
@@ -54,5 +54,6 @@ public interface VeluxBridgeProvider {
|
||||
* @return <b>BridgeAPI</b>
|
||||
* containing all API methods.
|
||||
*/
|
||||
public @Nullable BridgeAPI bridgeAPI();
|
||||
@Nullable
|
||||
BridgeAPI bridgeAPI();
|
||||
}
|
||||
|
||||
@@ -40,12 +40,12 @@ public interface BridgeCommunicationProtocol {
|
||||
*
|
||||
* @return name of the communication pair for human beings.
|
||||
*/
|
||||
public String name();
|
||||
String name();
|
||||
|
||||
/**
|
||||
* Returns the communication status included within the response message.
|
||||
*
|
||||
* @return true if the communication was successful, and false otherwise.
|
||||
*/
|
||||
public boolean isCommunicationSuccessful();
|
||||
boolean isCommunicationSuccessful();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user