Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-08-11 20:09:15 +0000
committerRyan D. Brooks2016-08-31 16:18:29 +0000
commitb46674b91759288afcc9790540330b9fa95393a7 (patch)
tree11f26e93e9ceb8457751eae1cadff653aa6fec82 /plugins
parent8c4007c1b7b3a3ebf2ac67e6959be5e2abaed78b (diff)
downloadorg.eclipse.osee-b46674b91759288afcc9790540330b9fa95393a7.tar.gz
org.eclipse.osee-b46674b91759288afcc9790540330b9fa95393a7.tar.xz
org.eclipse.osee-b46674b91759288afcc9790540330b9fa95393a7.zip
bug: Remove un-used loading boolean
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java
index 08c25b31706..36b2ab88874 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java
@@ -14,8 +14,8 @@ import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.nebula.widgets.xviewer.IXViewerPreComputedColumn;
-import org.eclipse.nebula.widgets.xviewer.core.model.XViewerAlign;
import org.eclipse.nebula.widgets.xviewer.core.model.SortDataType;
+import org.eclipse.nebula.widgets.xviewer.core.model.XViewerAlign;
import org.eclipse.osee.ats.api.IAtsObject;
import org.eclipse.osee.ats.api.IAtsWorkItem;
import org.eclipse.osee.ats.core.column.ColorTeamColumn;
@@ -32,7 +32,6 @@ public class ColorTeamColumnUI extends XViewerAtsColumn implements IXViewerPreCo
public static final Integer DEFAULT_WIDTH = 45;
Map<Long, String> workItemUuidToColorTeam = new HashMap<>(100);
- boolean loading = false;
public static ColorTeamColumnUI instance = new ColorTeamColumnUI();
public static ColorTeamColumnUI getInstance() {
@@ -40,8 +39,8 @@ public class ColorTeamColumnUI extends XViewerAtsColumn implements IXViewerPreCo
}
public ColorTeamColumnUI() {
- super(ColorTeamColumn.ATS_COLOR_TEAM_COLUMN_ID, "Color Team", 45, XViewerAlign.Left, false, SortDataType.String, true,
- "Color Team associated by related Work Package");
+ super(ColorTeamColumn.ATS_COLOR_TEAM_COLUMN_ID, "Color Team", 45, XViewerAlign.Left, false, SortDataType.String,
+ true, "Color Team associated by related Work Package");
}
/**
@@ -66,11 +65,7 @@ public class ColorTeamColumnUI extends XViewerAtsColumn implements IXViewerPreCo
@Override
public String getText(Object obj, Long key, String cachedValue) {
- String result = "";
- if (!loading) {
- result = workItemUuidToColorTeam.get(key);
- }
- return result;
+ return workItemUuidToColorTeam.get(key);
}
@Override

Back to the top