]> source.dussan.org Git - jgit.git/commit
RebaseCommand: Remove unnecessary fall through comments 67/127067/1
authorJonathan Nieder <jrn@google.com>
Sat, 4 Aug 2018 21:00:26 +0000 (14:00 -0700)
committerJonathan Nieder <jrn@google.com>
Sat, 4 Aug 2018 21:04:29 +0000 (14:04 -0700)
commit26c5d0e56a8c5adb2c93cda45e25175363798516
treedf5cfc8390fe6a15fdcf2af27038475ca52865ba
parent2d1038c1a1a6cd7ad328eb43187f5761e36f6fe7
RebaseCommand: Remove unnecessary fall through comments

It's easier to read a list of cases

case A:
case B:
case C:
... do something ...;
break;

without intervening "// fall through" lines separating the cases.

This also makes it clearer that JGit uses "$FALL-THROUGH$", not "fall
through", to suppress fallthrough warnings in switch statements.
Eclipse does not pay attention to the second comment style.

Change-Id: I5279a727aee2868854d06bfcaac8cb8186b4299e
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java