diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2018-05-14 18:42:02 +0200 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-05-15 17:05:02 -0400 |
commit | 6d370d837c5faa7caff2e6e3e4723b887f2fbdca (patch) | |
tree | 55e9259b4b3a85b567cc698ce3b3d4633df323cb /org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java | |
parent | f6873ffe522bbc3536969a3a3546bf9a819b92bf (diff) | |
download | jgit-6d370d837c5faa7caff2e6e3e4723b887f2fbdca.tar.gz jgit-6d370d837c5faa7caff2e6e3e4723b887f2fbdca.zip |
Remove 'final' in parameter lists
Change-Id: Id924f79c8b2c720297ebc49bf9c5d4ddd6d52547
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java')
-rw-r--r-- | org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java index bccf0c02fe..dcf27b4a7d 100644 --- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java +++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AWTPlotRenderer.java @@ -125,7 +125,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> /** {@inheritDoc} */ @Override - protected void drawText(final String msg, final int x, final int y) { + protected void drawText(String msg, int x, int y) { final int texth = g.getFontMetrics().getHeight(); final int y0 = (y - texth) / 2 + (cell.getHeight() - texth) / 2; g.setColor(cell.getForeground()); @@ -134,7 +134,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> /** {@inheritDoc} */ @Override - protected Color laneColor(final SwingLane myLane) { + protected Color laneColor(SwingLane myLane) { return myLane != null ? myLane.color : Color.black; } |