Issue #1842: Fix issue where start time of in progress VTEC events was being set

to 991130T0000Z.


Former-commit-id: e6ad90e07a4af553edcb79ce71790f339b3f4ed5
This commit is contained in:
David Gillingham 2013-07-19 11:19:52 -05:00 committed by Richard Peter
parent 747cab2eaf
commit cf21fb8fb3

View file

@ -41,6 +41,9 @@ import com.raytheon.viz.texteditor.util.VtecUtil;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* May 14, 2013 #1842 dgilling Initial creation
* Jul 19, 2013 #1842 dgilling Use VtecUtil.replaceFirstVtecString()
* to ensure start times of in progress
* events aren't set to the wrong time.
*
* </pre>
*
@ -94,7 +97,11 @@ public class GFEVtecUtil {
vtec.getPhensig(), true);
vtec.setSequence(newEtn);
}
vtecMatcher.appendReplacement(finalOutput, vtec.getVtecString());
vtecMatcher
.appendReplacement(
finalOutput,
VtecUtil.replaceFirstVtecString(
vtec.getVtecString(), vtec));
}
vtecMatcher.appendTail(finalOutput);
return finalOutput.toString();