From 63725482a350494119c9747e5dda9235c55a24ab Mon Sep 17 00:00:00 2001 From: Roger Ferrel Date: Wed, 12 Sep 2012 14:55:15 -0500 Subject: [PATCH] Issue #1155 changed default WMO id to 'blank'. Change-Id: I1374b7584545e1510745882972e96011fd6db128 Former-commit-id: 758b90b2b38ed85704ed4fad7f151000bc803917 [formerly 65b8cd58c3046b620e5af0d05e8a2a58a74eb4b7] [formerly d61f796f31f1a3abb3315c6225451279ffa52b6f] [formerly 00d7dea2eb762fef4d86c86a04c6041d11ff7177 [formerly d61f796f31f1a3abb3315c6225451279ffa52b6f [formerly c68617688bebf943fba3f46ab4df200ee4f99cc8]]] Former-commit-id: 00d7dea2eb762fef4d86c86a04c6041d11ff7177 Former-commit-id: 610f75dddcd8f45283a33719f385e68b0ff42391 [formerly c6bbd04898512f9d3441c2db7c8c54c54f7f00d5] Former-commit-id: 1b76eec2889fdd2ee478ee868e9302fec25da345 --- .../raytheon/viz/texteditor/util/SiteAbbreviationUtil.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cave/com.raytheon.viz.texteditor/src/com/raytheon/viz/texteditor/util/SiteAbbreviationUtil.java b/cave/com.raytheon.viz.texteditor/src/com/raytheon/viz/texteditor/util/SiteAbbreviationUtil.java index f6d37b613b..d0cb8d188f 100644 --- a/cave/com.raytheon.viz.texteditor/src/com/raytheon/viz/texteditor/util/SiteAbbreviationUtil.java +++ b/cave/com.raytheon.viz.texteditor/src/com/raytheon/viz/texteditor/util/SiteAbbreviationUtil.java @@ -29,7 +29,8 @@ import com.raytheon.uf.viz.core.localization.LocalizationManager; import com.raytheon.viz.texteditor.TextWarningConstants; /** - * TODO Add Description + * A grouping of static methods to obtain site id and to query for site + * information in various, seldom changed, tables. * *
  * 
@@ -37,6 +38,7 @@ import com.raytheon.viz.texteditor.TextWarningConstants;
  * Date         Ticket#    Engineer    Description
  * ------------ ---------- ----------- --------------------------
  * Mar 21, 2009            bwoodle     Initial creation
+ * Sep 09, 2012 14668      rferrel     Change default WMO ID to 'blank'.
  * 
  * 
* @@ -103,8 +105,7 @@ public class SiteAbbreviationUtil { public static String getTtaaii(String afosId) { String query = "SELECT wmottaaii FROM afos_to_awips WHERE afosid = '" + afosId + "';"; - // Keep the same default we previously had. - String rval = "SAUS43"; + String rval = "blank"; try { List results = DirectDbQuery.executeQuery(query,