forked from D-Net/dnet-hadoop
refactoring
This commit is contained in:
parent
e1af14833d
commit
c52355b516
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue