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>
This commit is contained in:
parent
2d1038c1a1
commit
26c5d0e56a
|
@ -275,9 +275,7 @@ public RebaseResult call() throws GitAPIException, NoHeadException,
|
||||||
throw new JGitInternalException(ioe.getMessage(), ioe);
|
throw new JGitInternalException(ioe.getMessage(), ioe);
|
||||||
}
|
}
|
||||||
case PROCESS_STEPS:
|
case PROCESS_STEPS:
|
||||||
// fall through
|
|
||||||
case SKIP:
|
case SKIP:
|
||||||
// fall through
|
|
||||||
case CONTINUE:
|
case CONTINUE:
|
||||||
String upstreamCommitId = rebaseState.readFile(ONTO);
|
String upstreamCommitId = rebaseState.readFile(ONTO);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue