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:
Jonathan Nieder 2018-08-04 14:00:26 -07:00
parent 2d1038c1a1
commit 26c5d0e56a
1 changed files with 0 additions and 2 deletions

View File

@ -275,9 +275,7 @@ public RebaseResult call() throws GitAPIException, NoHeadException,
throw new JGitInternalException(ioe.getMessage(), ioe);
}
case PROCESS_STEPS:
// fall through
case SKIP:
// fall through
case CONTINUE:
String upstreamCommitId = rebaseState.readFile(ONTO);
try {