-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove redundant public and abstract modifiers from interfaces #3560
Conversation
Signed-off-by: Wouter Born <github@maindrain.net>
@@ -30,5 +30,5 @@ public interface TimeBasedConditionHandler extends ConditionHandler { | |||
* @param time The time to check. | |||
* @return <code>true</code> if and only if the given time satisfies this condition. | |||
*/ | |||
public abstract boolean isSatisfiedAt(ZonedDateTime time); | |||
abstract boolean isSatisfiedAt(ZonedDateTime time); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the abstract
keyword be removed as well by the script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it worked, though I had to make one manual correction. See the new commit.
Signed-off-by: Wouter Born <github@maindrain.net>
This removes redundant modifiers from the interfaces similar to openhab/openhab-core#3560. Signed-off-by: Wouter Born <github@maindrain.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
I wrote a small script to remove redundant public modifiers from the interfaces (#3522 (comment)). WDYT?