Skip to content

Commit

Permalink
Minor SonarLint nitpicking (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed May 18, 2021
1 parent a04a0c4 commit b29c66e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ public AbstractSwitch(String address, boolean state) {
}

@Override
public synchronized boolean getState() throws IOException {
public final synchronized boolean getState() throws IOException {
return state;
}

@Override
public synchronized void setState(boolean state) throws IOException {
public final synchronized void setState(boolean state) throws IOException {

ThreadContext.push("setState");

Expand Down

0 comments on commit b29c66e

Please sign in to comment.