diff options
author | Vladislav Lisetskiy <vladlis54@gmail.com> | 2015-11-09 20:59:57 +0300 |
---|---|---|
committer | Roman Ivanov <ivanov-jr@mail.ru> | 2015-11-09 13:16:49 -0800 |
commit | 2bd61975dfc9f6ada80ec009d46f6c95d483b5bf (patch) | |
tree | bc643101c27ad9d21dbc1da1660aaac7de9c59fa /src/test/resources | |
parent | 1b5132b7f86b5ee1e88962ddb7a107ce759563e9 (diff) | |
download | checkstyle-2bd61975dfc9f6ada80ec009d46f6c95d483b5bf.tar.gz |
Issue #1438: Fix handling finally in FallThroughCheck
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputFallThrough.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputFallThrough.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputFallThrough.java index 9730e63a6..85f3d1544 100644 --- a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputFallThrough.java +++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputFallThrough.java @@ -102,7 +102,7 @@ public class InputFallThrough } finally { i++; } - case 23: //fall through!!! + case 23: switch (j) { case 1: continue; @@ -237,7 +237,7 @@ public class InputFallThrough } finally { i++; } - /* fallthru */ + case 23: switch (j) { case 1: |