From 11baf4c2f0619cb08792564b2de35ff57613f1f4 Mon Sep 17 00:00:00 2001 From: Steve Harris Date: Mon, 25 Mar 2013 13:20:03 -0500 Subject: [PATCH] 13.3.1-11 baseline Former-commit-id: 2edab6154058663f8dfc5014ba8c572b67745584 [formerly 9cdd90e38285ca8d602dd5b71e8d8124a6e6779b] [formerly 373d13df395940b0d74d2021399b0eef7953899d [formerly 81effd422de0285d345ebfd5c472c924ce261815]] Former-commit-id: 373d13df395940b0d74d2021399b0eef7953899d Former-commit-id: d86800306779217ab0a834dacc2f4d69d79e80f9 --- .../edex/plugin/shef/database/PostShef.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java b/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java index e1b9239756..08af0a5363 100644 --- a/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java +++ b/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java @@ -105,6 +105,7 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools; * 05/28/2009 2410 J. Sanchez Posted data for unknstnvalue. * 12/11/2009 2488 M. Duff Fixed problem with storing text products. * 03/07/2013 15545 w. kwock Added Observe time to log + * 03/21/2013 15967 w. kwock Fix the error in buildTsFcstRiv riverstatus table issue * * * @@ -1551,8 +1552,8 @@ public class PostShef { shefDataValue.setCreationDateObj(fcstHead[y].getId() .getBasistime()); shefDataValue.setValue(fcstHead[y].getValue()); - } - shefList.add(shefDataValue); + shefList.add(shefDataValue); + } } } catch (Exception e) { log.error("Query = [" + query + "]"); @@ -1707,8 +1708,7 @@ public class PostShef { for (int i = 0; i < ulCount; i++) { tsFirstChk[i] = 0; } - - Timestamp[] row = null; + Timestamp row = null; Timestamp validTime = null; for (int i = 0; i < fcstCount; i++) { @@ -1720,8 +1720,8 @@ public class PostShef { basisIndex[i] = MISSING; for (int j = 0; ((j < ulCount) && (basisIndex[i] == MISSING)); j++) { - row = (Timestamp[]) ulHead[j]; - ulBasisTime = row[j]; + row = (Timestamp) ulHead[j]; + ulBasisTime = row; if (ulBasisTime.compareTo(fcstBasisTime) == 0) { basisIndex[i] = j; @@ -1759,8 +1759,8 @@ public class PostShef { */ for (int j = 0; j < ulCount; j++) { - row = (Timestamp[]) ulHead[j]; - basisTime[j] = row[j]; + row = (Timestamp) ulHead[j]; + basisTime[j] = row; } /*