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

@@ -32,7 +32,7 @@ public interface AvailabilityTracker {
* @param payload_available
* @param payload_not_available
*/
public void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available);
void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available);
/**
* Adds an availability topic to determine the availability of a device.
@@ -47,18 +47,18 @@ public interface AvailabilityTracker {
* @param transformationServiceProvider The service provider to obtain the transformation service (required only if
* transformation_pattern is not null).
*/
public void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available,
void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available,
@Nullable String transformation_pattern,
@Nullable TransformationServiceProvider transformationServiceProvider);
public void removeAvailabilityTopic(String availability_topic);
void removeAvailabilityTopic(String availability_topic);
public void clearAllAvailabilityTopics();
void clearAllAvailabilityTopics();
/**
* resets the indicator, if messages have been received.
* <p>
* This is used to time out the availability of the device after some time without receiving a message.
*/
public void resetMessageReceived();
void resetMessageReceived();
}