13.2.1-18 baseline
Former-commit-id:f52a716b3f
[formerly3fd5612f89
[formerly aaef550ed7b6715c68b755514ceb504a9a9e9453]] Former-commit-id:3fd5612f89
Former-commit-id:97dfda9020
This commit is contained in:
parent
3dff54e277
commit
0bb9bde142
2 changed files with 2 additions and 12 deletions
|
@ -65,7 +65,6 @@ import com.raytheon.viz.ui.dialogs.CaveSWTDialog;
|
||||||
* 28May2010 2187 cjeanbap Added StdTextProductFactory
|
* 28May2010 2187 cjeanbap Added StdTextProductFactory
|
||||||
* functionality.
|
* functionality.
|
||||||
* 09 NOV 2012 1298 rferrel Changes for non-blocking dialog.
|
* 09 NOV 2012 1298 rferrel Changes for non-blocking dialog.
|
||||||
* 08Mar2013 15564 mgamazaychikov Set the awipsWanPil based on productText data
|
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author lvenable
|
* @author lvenable
|
||||||
|
@ -388,15 +387,7 @@ public class StoreTransmitDlg extends CaveSWTDialog implements
|
||||||
} else {
|
} else {
|
||||||
req = new OUPRequest();
|
req = new OUPRequest();
|
||||||
OfficialUserProduct oup = new OfficialUserProduct();
|
OfficialUserProduct oup = new OfficialUserProduct();
|
||||||
/*
|
String awipsWanPil = productIdTF.getText();
|
||||||
* DR15564 - set the awipsWanPil based on productText data
|
|
||||||
*/
|
|
||||||
String[] splitLines = productText.split("\n");
|
|
||||||
String[] firstLine = splitLines[0].split(" ");
|
|
||||||
String[] secondLine = splitLines[1].split(" ");
|
|
||||||
String cccc = firstLine[1];
|
|
||||||
String productNnnidXxxid = secondLine[0];
|
|
||||||
String awipsWanPil = cccc + productNnnidXxxid;
|
|
||||||
oup.setAwipsWanPil(awipsWanPil);
|
oup.setAwipsWanPil(awipsWanPil);
|
||||||
oup.setProductText(productText);
|
oup.setProductText(productText);
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,6 @@ import com.raytheon.uf.edex.dissemination.transmitted.TransmittedProductList;
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* Nov 13, 2009 njensen Initial creation
|
* Nov 13, 2009 njensen Initial creation
|
||||||
* 08/20/2012 DR 15340 D. Friedman Fix BBB problems
|
* 08/20/2012 DR 15340 D. Friedman Fix BBB problems
|
||||||
* 03/08/2013 15564 mgamazaychikov Trimmed extra spaces in afosId
|
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -72,7 +71,7 @@ public class ModifyProduct {
|
||||||
List<AfosToAwips> list = dao.lookupAfosId(ttaaii, cccc).getIdList();
|
List<AfosToAwips> list = dao.lookupAfosId(ttaaii, cccc).getIdList();
|
||||||
String productId = null;
|
String productId = null;
|
||||||
for (AfosToAwips ata : list) {
|
for (AfosToAwips ata : list) {
|
||||||
String afosId = ata.getAfosid().trim();
|
String afosId = ata.getAfosid();
|
||||||
String awipsId = afosId.substring(3);
|
String awipsId = afosId.substring(3);
|
||||||
if (awipsId.equals(productAwipsId)) {
|
if (awipsId.equals(productAwipsId)) {
|
||||||
productId = afosId;
|
productId = afosId;
|
||||||
|
|
Loading…
Add table
Reference in a new issue