Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-08-16 17:17:08 +0000
committerRyan D. Brooks2016-08-31 16:18:39 +0000
commitaf415a81557f5c824fc68c22f02065f9e83925a6 (patch)
treeec7bf8dd656c074d8a3cc9f5740c2dd3e8b394e4 /plugins
parent8daa960c744a75530c8e61f5fa770f03f9284c0c (diff)
downloadorg.eclipse.osee-af415a81557f5c824fc68c22f02065f9e83925a6.tar.gz
org.eclipse.osee-af415a81557f5c824fc68c22f02065f9e83925a6.tar.xz
org.eclipse.osee-af415a81557f5c824fc68c22f02065f9e83925a6.zip
refinement: Remove un-necessary cache in ColorTeamColumnUI
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/ColorTeamColumnUI.java4
1 files changed, 2 insertions, 2 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 36b2ab88874..630f9faf487 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
@@ -65,7 +65,7 @@ public class ColorTeamColumnUI extends XViewerAtsColumn implements IXViewerPreCo
@Override
public String getText(Object obj, Long key, String cachedValue) {
- return workItemUuidToColorTeam.get(key);
+ return cachedValue;
}
@Override
@@ -76,7 +76,7 @@ public class ColorTeamColumnUI extends XViewerAtsColumn implements IXViewerPreCo
IAtsWorkItem workItem = (IAtsWorkItem) element;
Pair<String, Boolean> result =
ColorTeamColumn.getWorkItemColorTeam(workItem, AtsClientService.get().getServices());
- workItemUuidToColorTeam.put(workItem.getUuid(), result.getFirst());
+ preComputedValueMap.put(workItem.getUuid(), result.getFirst());
}
} catch (OseeCoreException ex) {
LogUtil.getCellExceptionString(ex);

Back to the top