diff --git a/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/pointdatacontrol/PointDataControlManager.java b/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/pointdatacontrol/PointDataControlManager.java index 9ffb4855be..3b16653e05 100644 --- a/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/pointdatacontrol/PointDataControlManager.java +++ b/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/pointdatacontrol/PointDataControlManager.java @@ -80,6 +80,7 @@ import com.raytheon.viz.hydrocommon.util.HydroDialogStatus; * Jan 27, 2011 #5274 bkowal Using the swt job class to request data * asynchronously and display a progress * indicator on the main interface. + * Feb 11, 2014 #15829 lbousaidi check for Missing before processing River Threat. * * * @author mpduff @@ -390,6 +391,13 @@ public class PointDataControlManager extends Job { * missing data are only added if requested, since it takes a finite * time to determine which stations are missing. */ + if (pcOptions.getSupressMissing() == 1) { + repList = PointDataControlAddMissing.addMissingReports(repList); + } + + if (this.cancelJob) { + return; + } /* * Check to determine if the user wants the displayed river icons to @@ -406,24 +414,6 @@ public class PointDataControlManager extends Job { return; } - /* - * if the user has requested that a missing report be shown for each - * station being considered, then add them as necessary. the report - * list is passed in AND returned to handle the case where the - * report list may be empty, and therefore this function must assign - * a new Head pointer. - * - * missing data are only added if requested, since it takes a finite - * time to determine which stations are missing. - */ - if (pcOptions.getSupressMissing() == 1) { - repList = PointDataControlAddMissing.addMissingReports(repList); - } - - if (this.cancelJob) { - return; - } - /* * Check the "Values" pulldown option menu. Process the options * according to the selected value which may be one of the @@ -1256,4 +1246,4 @@ public class PointDataControlManager extends Job { this.cancel(); } } -} \ No newline at end of file +}