From 4aec347351747888d09387b50949c78e3cf5782f Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 1 Oct 2020 16:23:52 +0200 Subject: [PATCH] refactoring --- .../dnetlib/dhp/actionmanager/project/utils/CSVProject.java | 1 - .../dhp/actionmanager/project/utils/EXCELParser.java | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/CSVProject.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/CSVProject.java index 4ec59b0f4..4fe9c4986 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/CSVProject.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/CSVProject.java @@ -26,7 +26,6 @@ public class CSVProject implements Serializable { private String participantCountries; private String subjects; - public String getRcn() { return rcn; } diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/EXCELParser.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/EXCELParser.java index 06fd4f039..ed70ea076 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/EXCELParser.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/utils/EXCELParser.java @@ -56,11 +56,11 @@ public class EXCELParser { } - EXCELTopic et = (EXCELTopic)cc; - if(StringUtils.isNotBlank(et.getRcn())){ + EXCELTopic et = (EXCELTopic) cc; + if (StringUtils.isNotBlank(et.getRcn())) { ret.add((R) cc); } - + } count += 1;