# [EGIT PATCH] Removal of dead code

1 messages from 2009-04-26 to 2009-04-26. Participants: Alex Blewitt.
Thread: https://gitlist.dev/t/19072

## Alex Blewitt, 2009-04-26 20:55

Subject: [EGIT PATCH] Removal of dead code
Message-ID: <20090426205506.BC46ADBF31@apple.int.bandlem.com>
URL: https://gitlist.dev/e/20090426205506.BC46ADBF31%40apple.int.bandlem.com

```
>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(-)

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

```
