Merge "Issue #2898 Fix recycling of best res resource." into development

Former-commit-id: baead24016 [formerly 95fe9da5e2] [formerly c662bfb938] [formerly 8ac509f37f [formerly c662bfb938 [formerly 274b83f84f4bdda381c450b0853711564cae65a6]]]
Former-commit-id: 8ac509f37f
Former-commit-id: c749fc6329e1ec120ee600d3c4fa1fd2bd451d55 [formerly 42e2f15293]
Former-commit-id: 614a106884
This commit is contained in:
Nate Jensen 2014-03-13 10:14:58 -05:00 committed by Gerrit Code Review
commit f72551b031

View file

@ -42,14 +42,17 @@ import com.raytheon.uf.viz.core.rsc.ResourceProperties;
import com.raytheon.uf.viz.core.rsc.capabilities.AbstractCapability;
/**
* TODO Add Description
* Resource for rendering the best resource from a list. For each frame time
* the resource will find the first(in the order of the list in resource data)
* resource with data available and render only that resource.
*
* <pre>
*
* SOFTWARE HISTORY
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Jan 5, 2010 mnash Initial creation
* Date Ticket# Engineer Description
* ------------- -------- ----------- --------------------------
* Jan 05, 2010 mnash Initial creation
* Mar 12, 2014 2898 bsteffen Clear times in resource data on dispose.
*
* </pre>
*
@ -107,6 +110,7 @@ public class BestResResource extends
resource.dispose();
}
}
resourceData.getMap().clear();
}
/*
@ -325,4 +329,4 @@ public class BestResResource extends
issueRefresh();
}
}
}