Merge "Issue #1842: Fix issue where start time of in progress VTEC events was being set to 991130T0000Z." into omaha_13.5.1

Former-commit-id: 7e04107b602191703a8dbe19b7182ccb41a13eb1
This commit is contained in:
Ron Anderson 2013-07-22 09:47:09 -05:00 committed by Gerrit Code Review
commit 249e7b1aaa

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