Omaha #3632 fixed index out of bounds for TCSResource
Change-Id: I1d0811d2565441a01b104a1ad2a1c1303c756907 Former-commit-id:6cd7458ae7
[formerlydd1b5a2641
] [formerlya1b3579cf5
] [formerly c730ad29d9d6c3b664606f40f752cc54a7c4468a [formerlya1b3579cf5
[formerly4a93d0e571
]]] [formerly0808a6b662
[formerlya1b3579cf5
[formerly4a93d0e571
] [formerly0808a6b662
[formerly 1c96a60c25091ddec997f5d9e3b604c0fd7689bc]]]] Former-commit-id:0808a6b662
Former-commit-id: e4e932ff058682a9fd712639ef5cbb25da494f6a [formerly b94c4bb733508e173f8fd3a435b2a6844004dee8] [formerly520d4fdd5c
[formerlya410a42e4d
]] Former-commit-id:520d4fdd5c
Former-commit-id:dbe8b27278
This commit is contained in:
parent
0a2f5bdee4
commit
9ada7733f8
1 changed files with 3 additions and 2 deletions
|
@ -69,7 +69,7 @@ import com.raytheon.viz.pointdata.util.SymbolLoader;
|
|||
import com.vividsolutions.jts.geom.Coordinate;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* Tropical Cyclone summary resource
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -79,6 +79,7 @@ import com.vividsolutions.jts.geom.Coordinate;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Oct 22, 2010 jsanchez Initial creation
|
||||
* Jul 29, 2014 #3465 mapeters Updated deprecated drawString() calls.
|
||||
* Sep 17, 2014 3632 bclement fixed index out of bounds
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -160,7 +161,7 @@ public class TCSResource extends
|
|||
}
|
||||
|
||||
if (pdc != null) {
|
||||
for (int uriCounter = 0; uriCounter < pdc.getAllocatedSz(); uriCounter++) {
|
||||
for (int uriCounter = 0; uriCounter < pdc.getCurrentSz(); uriCounter++) {
|
||||
PointDataView pdv = pdc.readRandom(uriCounter);
|
||||
if (resourceData.isHourlyForecast) {
|
||||
paintHourlyForecast(target, paintProps, pdv, scale);
|
||||
|
|
Loading…
Add table
Reference in a new issue