Issue #2898 Fix recycling of best res resource.

Former-commit-id: d115db1a66 [formerly 1693e5e369a199dd2a824815e0c3e638fc7b0be3]
Former-commit-id: 90e464ad0b
This commit is contained in:
Ben Steffensmeier 2014-03-12 11:49:07 -05:00
parent 1a3d8a69d4
commit 477b2b604a

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();
}
}
}