Issue #4503 Fix nwrwaves trigger in TPCWatchSrv to only trigger on non-national TCV/HLS products
Change-Id: Iaaae5a35b94fd0c4edacd3d23e5913de9faf7f26 Former-commit-id: 268605b812cfd76c6b88a85226c1b018c9ba7034
This commit is contained in:
parent
43049e62c7
commit
ff46482c6b
2 changed files with 4 additions and 3 deletions
|
@ -3,4 +3,5 @@ output.. = bin/
|
|||
bin.includes = META-INF/,\
|
||||
.,\
|
||||
res/,\
|
||||
resources/
|
||||
resources/,\
|
||||
utility/
|
||||
|
|
|
@ -197,9 +197,9 @@ public final class TPCWatchSrv extends AbstractWatchNotifierSrv {
|
|||
// if we are not in practice mode
|
||||
if (!practiceMode) {
|
||||
|
||||
// if xxxId ends with a digit (i.e. its a national TCV)
|
||||
// if xxxId does NOT end with a digit (i.e. its NOT a national TCV)
|
||||
String xxxId = record.getXxxid();
|
||||
if (Character.isDigit(xxxId.charAt(xxxId.length() - 1))) {
|
||||
if (!Character.isDigit(xxxId.charAt(xxxId.length() - 1))) {
|
||||
|
||||
// build the full 9-letter PIL
|
||||
String fullPil = SiteMap.getInstance().mapICAOToCCC(
|
||||
|
|
Loading…
Add table
Reference in a new issue