[vcs-log] remove unused methods

Default getIconHeight implementation was used in StripeIcon, which was removed in f6ba2ae34f.
This commit is contained in:
Julia Beliaeva
2018-11-17 23:47:55 +03:00
parent 9eb0942fe3
commit 27f18249c7
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.log.ui.frame;
import com.intellij.ide.ui.laf.intellij.MacIntelliJProgressBarUI;
@@ -35,7 +21,6 @@ import static com.intellij.ui.JBColor.namedColor;
public abstract class ProgressStripeIcon implements Icon {
private static final int TRANSLATE = 1;
private static final int HEIGHT = 3;
@NotNull
private final JComponent myReferenceComponent;
private final int myShift;
@@ -68,15 +53,6 @@ public abstract class ProgressStripeIcon implements Icon {
return myReferenceComponent.getWidth();
}
@Override
public int getIconHeight() {
return getHeight();
}
public static int getHeight() {
return JBUI.scale(HEIGHT);
}
private static class GradientIcon extends ProgressStripeIcon {
private static final Color DARK = new ProgressStripeColor(namedColor("ProgressBar.indeterminateStartColor",
new JBColor(new Color(0x4d9ff8), new Color(0x6a6a6a))),