From 2d764974882f30df66f19ab4377abab36d4894b8 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 5 Nov 2020 17:10:24 +0100 Subject: [PATCH] cleanup --- .../dhp/oa/graph/raw/GenerateEntitiesApplication.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java index 27b57b2d14..b235c3f544 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/raw/GenerateEntitiesApplication.java @@ -134,10 +134,7 @@ public class GenerateEntitiesApplication { return o1; } - protected static Result mergeResults(Result o1, Result o2) { - Result r1 = o1; - Result r2 = o2; - + protected static Result mergeResults(Result r1, Result r2) { if (new ResultTypeComparator().compare(r1, r2) < 0) { r1.mergeFrom(r2); return r1;