Skip to content

Commit 085294d

Browse files
committed
Add Checstyle FallThrough
1 parent 9e1f26c commit 085294d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/conf/checkstyle/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ limitations under the License.
5050
</module>
5151
<module name="EqualsHashCode" />
5252
<module name="ExplicitInitialization" />
53+
<module name="FallThrough" />
5354
<module name="FinalLocalVariable" />
5455
<module name="FinalParameters" />
5556
<module name="IllegalImport" />

src/main/java/org/apache/commons/csv/CSVPrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public synchronized void printComment(final String comment) throws IOException {
236236
if (i + 1 < comment.length() && comment.charAt(i + 1) == LF) {
237237
i++;
238238
}
239-
//$FALL-THROUGH$ break intentionally excluded.
239+
// falls-through: break intentionally excluded.
240240
case LF:
241241
println();
242242
appendable.append(format.getCommentMarker().charValue()); // N.B. Explicit (un)boxing is intentional

0 commit comments

Comments
 (0)