Skip to content

Commit

Permalink
Explicit case skip
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 2, 2024
1 parent 822383f commit 112399c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/apache/commons/io/RandomAccessFileMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,16 @@ public static RandomAccessFileMode valueOf(final OpenOption... openOption) {
}
break;
default:
// skip
// explicit case skip (spotbugs)
continue;
}
}
}
return bestFit;
}

/**
* Gets the enum value for the given mode, one of one of {@value #R}, {@value #RW}, {@value #RWD}, or {@value #RWS}.
* Gets the {@link RandomAccessFileMode} value for the given mode, one of {@value #R}, {@value #RW}, {@value #RWD}, or {@value #RWS}.
*
* @param mode one of {@value #R}, {@value #RW}, {@value #RWD}, or {@value #RWS}.
* @return A RandomAccessFileMode.
Expand Down

0 comments on commit 112399c

Please sign in to comment.