VLab Issue #6612 - DR_14627 TDWR radar menu extra 0.0; fixes #6612

Change-Id: Ib04c560a4edf1c160bcf2591b94871fb0758abce

Former-commit-id: dc15dfbf87b79d38c97f1b7cd14c0f93e021e150
This commit is contained in:
Zihou Wang 2015-02-27 15:44:43 +00:00
parent 1cbc8f4da7
commit f4e30720b6

View file

@ -47,6 +47,7 @@ import com.raytheon.uf.common.localization.PathManagerFactory;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* May 24, 2010 mnash Initial creation
* Feb 11, 2015 14627 zwang Remove the extra elevation 0.0
*
* </pre>
*
@ -117,10 +118,6 @@ public class TerminalRadarUtils {
for (Double y : mapSet.get("HAZ")) {
theMap.put(TiltAngleBin.getPrimaryElevationAngle(y), y);
}
// add the base case if necessary
if (!theMap.containsKey(0.0)) {
theMap.put(0.0, 0.0);
}
List<Double> list = new ArrayList<Double>(theMap.values());
Collections.sort(list);
radarElevations.put("t" + lineVals[0].toLowerCase(), list);