ASM #15701 WarnGen displaying error for Watch Wording when switching from backup site to local site

Change-Id: I9ff834f0b3717d046f278b8a21ca955e5f5c4805

Former-commit-id: c14a5287ac [formerly 126ec43423a864df597bd6dd745671ee0bf4fbfb]
Former-commit-id: 9897417235
This commit is contained in:
Michael Gamazaychikov 2014-08-15 11:01:29 -04:00
parent 63f000f11d
commit 2b450af136

View file

@ -140,6 +140,7 @@ import com.vividsolutions.jts.io.WKTReader;
* Mar 17, 2014 DR 16309 Qinglu Lin Updated getWatches(), processATEntries() and determineAffectedPortions(), and
* added determineAffectedMarinePortions().
* Jul 21, 2014 3419 jsanchez Refactored WatchUtil.
* Aug 15, 2014 DR15701 mgamazaychikov Removed static field watchUtil.
* </pre>
*
* @author njensen
@ -157,8 +158,6 @@ public class TemplateRunner {
private static Hashtable<String, DateFormat> dateFormat;
private static WatchUtil watchUtil;
static {
dateFormat = new Hashtable<String, DateFormat>();
dateFormat
@ -851,9 +850,7 @@ public class TemplateRunner {
// Store Watches
try {
t0 = System.currentTimeMillis();
if (watchUtil == null) {
watchUtil = new WatchUtil(warngenLayer);
}
WatchUtil watchUtil = new WatchUtil(warngenLayer);
List<Watch> watches = watchUtil.getWatches(config, warnPolygon,
simulatedTime);
System.out.println("getWatches time: "