refactoring

This commit is contained in:
Miriam Baglioni 2021-04-07 12:13:45 +02:00
parent e1af14833d
commit c52355b516
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ public class ResultMapper implements Serializable {
if (oPca.isPresent() && oPcc.isPresent()) {
Field<String> pca = oPca.get();
Field<String> pcc = oPcc.get();
if (pca.getValue().trim() != "" && pcc.getValue().trim() != "") {
if (!pca.getValue().trim().equals("") && !pcc.getValue().trim().equals("")) {
APC apc = new APC();
apc.setCurrency(oPcc.get().getValue());
apc.setAmount(oPca.get().getValue());