Clean-up: resolve duplicate code in RebaseInteractiveCurrentHandler
commita0270b1245dd66c3c242e94043b68759070bee5d
authorThomas Wolf <thomas.wolf@paranor.ch>
Wed, 2 Aug 2017 22:19:59 +0000 (3 00:19 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 16 Oct 2017 21:10:52 +0000 (16 23:10 +0200)
tree49d82a82884e016b7f8b135dd596e353a43163a9
parent13b5efff3948958059e5f4163855b43bb3aeefb8
Clean-up: resolve duplicate code in RebaseInteractiveCurrentHandler

A Hudson build for https://git.eclipse.org/r/102415 reported a fixed
duplicate code finding. On closer inspection, that report was bogus:
the analysis considered the duplication fixed because a change made
in one class resulted in two smaller duplicate blocks below the
reporting threshold.

In reality, the same change should have been made in the other class,
too... instead resolve the code duplication properly.

Change-Id: Ia39ca913bb0e8f5eef3506051537f62571b33056
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/AbstractRebaseHistoryCommandHandler.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/RebaseInteractiveCurrentHandler.java