From c5a863132c124e25d1b75ca8d7c8546a7db33043 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 14 Apr 2022 14:14:13 +0200 Subject: [PATCH] [BulkTagging] revert it --- .../src/main/java/eu/dnetlib/dhp/bulktag/SparkBulkTagJob.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/SparkBulkTagJob.java b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/SparkBulkTagJob.java index 6664d36ec..ad1e8721a 100644 --- a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/SparkBulkTagJob.java +++ b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/SparkBulkTagJob.java @@ -126,9 +126,6 @@ public class SparkBulkTagJob { // TODO remove this hack as soon as the values fixed by this method will be provided as NON null private static MapFunction patchResult() { return r -> { - if(r.getDataInfo() == null){ - return null; - } if (r.getDataInfo().getDeletedbyinference() == null) { r.getDataInfo().setDeletedbyinference(false); }