Skip to content

Commit

Permalink
chore: Fix spotbugs warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rhwood committed Mar 8, 2020
1 parent 04bde02 commit 0508272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/jmri/implementation/AbstractTurnout.java
Expand Up @@ -284,7 +284,7 @@ public void setControlType(int num) {

@Override
public Set<Integer> getValidFeedbackModes() {
Set modes = new HashSet<Integer>();
Set<Integer> modes = new HashSet<>();
Arrays.stream(_validFeedbackModes).forEach(modes::add);
return modes;
}
Expand Down

0 comments on commit 0508272

Please sign in to comment.