Merge branch 'master_14.2.2' into asm_14.2.2

Former-commit-id: 2f53c2e385 [formerly 7dde6e1d04] [formerly ee7c67f7b0 [formerly d7b707236a1ee3bca45dee26c10814d9e3c275c8]]
Former-commit-id: ee7c67f7b0
Former-commit-id: cf49a7217f
This commit is contained in:
brian.dyke 2014-05-30 10:07:12 -04:00
commit 8b93c973d6

View file

@ -476,7 +476,8 @@ public class PostShef {
data.setCreationDateObj(d);
data.setCreationDate("1970-01-01 00:00:00");
}
locId = data.getLocationId();
String key = locId + prodId + data.getObservationTime();
if (idLocations.containsKey(key)) {
postLocData = idLocations.get(key);
@ -2099,9 +2100,9 @@ public class PostShef {
String telem = null;
String sql = null;
Object[] oa = null;
String key = locId + data.getPeTsE();
try {
if (!ingestSwitchMap.containsKey(locId)) {
if (!ingestSwitchMap.containsKey(key)) {
errorMsg.append("Error getting connection to IHFS Database");
sql = "select lid, pe, dur, ts, extremum, ts_rank, ingest, ofs_input, stg2_input from IngestFilter where lid = '"
+ locId + "'";
@ -2138,11 +2139,11 @@ public class PostShef {
}
}
ingestSwitchMap.put(locId, ingestSwitch);
ingestSwitchMap.put(key, ingestSwitch);
}
matchFound = ingestSwitchMap.containsKey(locId);
ingestSwitch = ingestSwitchMap.get(locId);
matchFound = ingestSwitchMap.containsKey(key);
ingestSwitch = ingestSwitchMap.get(key);
/*
* if there is no ingest record for this entry, then check if the