>From ee933d31d2ca4a4270aa9f4be6e60beec388e8af Mon Sep 17 00:00:00 2001
From: Alex Blewitt <alex.blewitt@gmail.com>
Date: Sun, 26 Apr 2009 21:51:17 +0100
Subject: [PATCH] Removed dead code
---
.../preferences/GitDecoratorPreferencePage.java | 32 --------------------
1 files changed, 0 insertions(+), 32 deletions(-)
Show changes to org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitDecoratorPreferencePage.java +0 −32
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitDecoratorPreferencePage.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
index eca2277..185f242 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
@@ -727,18 +727,6 @@ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
// No-op
}
- public Color getBackground(Object element) {
- return getDecoration(element).getBackgroundColor();
- }
-
- public Color getForeground(Object element) {
- return getDecoration(element).getForegroundColor();
- }
-
- public Font getFont(Object element) {
- return getDecoration(element).getFont();
- }
-
public String getText(Object element) {
final PreviewDecoration decoration = getDecoration(element);
final StringBuffer buffer = new StringBuffer();
@@ -869,12 +857,6 @@ public boolean isAssumeValid() {
private ImageDescriptor overlay = null;
- private Font font;
-
- private Color backgroundColor;
-
- private Color foregroundColor;
-
/**
* Adds an icon overlay to the decoration
* <p>
@@ -903,15 +885,12 @@ public IDecorationContext getDecorationContext() {
}
public void setBackgroundColor(Color color) {
- backgroundColor = color;
}
public void setForegroundColor(Color color) {
- foregroundColor = color;
}
public void setFont(Font font) {
- this.font = font;
}
public ImageDescriptor getOverlay() {
@@ -934,16 +913,5 @@ public String getSuffix() {
return sb.toString();
}
- public Font getFont() {
- return font;
- }
-
- public Color getBackgroundColor() {
- return backgroundColor;
- }
-
- public Color getForegroundColor() {
- return foregroundColor;
- }
}
}
--
1.6.2.2