Update TMSSetupsImpl.java
update Null safety for shortCode
This commit is contained in:
parent
d5bef92cff
commit
e6e6f68360
@ -215,7 +215,7 @@ public class TMSSetupsImpl implements TMSSetups{
|
||||
// SystemParamsOperation.getInstance().setSecHostCurrency(currencyTextToCode(siriusHost.getCurrency()));
|
||||
// }
|
||||
}
|
||||
if (siriusHost.getShortCode().isEmpty()) {
|
||||
if (siriusHost.getShortCode() == null || siriusHost.getShortCode().isEmpty()) {
|
||||
SystemParamsOperation.getInstance().setShortCode("");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user