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

@@ -30,19 +30,19 @@ public interface MeterValueListener {
*
* @param e The Exception that was thrown.
*/
public void errorOccurred(Throwable e);
void errorOccurred(Throwable e);
/**
* Called whenever some value was added or changed for a meter device.
*
* @param value The changed value.
*/
public <Q extends Quantity<Q>> void valueChanged(MeterValue<Q> value);
<Q extends Quantity<Q>> void valueChanged(MeterValue<Q> value);
/**
* Called whenever some value was removed from the meter device (not available anymore).
*
* @param value The removed value.
*/
public <Q extends Quantity<Q>> void valueRemoved(MeterValue<Q> value);
<Q extends Quantity<Q>> void valueRemoved(MeterValue<Q> value);
}