From fc2f7636be1f55221adf3fba9644d786206ed787 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 2 Oct 2020 12:33:52 +0200 Subject: [PATCH] removed not used code --- .../dhp/actionmanager/project/PrepareProjects.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/PrepareProjects.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/PrepareProjects.java index 04d32beb9..c53fb11ca 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/PrepareProjects.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/PrepareProjects.java @@ -96,24 +96,12 @@ public class PrepareProjects { String[] programme = csvProject.get().getProgramme().split(";"); String topic = csvProject.get().getTopics(); -// String topicdescription = Optional -// .ofNullable(csvProject.get().getTopics()) -// .map(topics -> { -// if (topic.equalsIgnoreCase(value._1().getTopiccode())) { -// return value._1().getTopicdescription(); -// } -// return null; -// }) -// .orElse(null); Arrays .stream(programme) .forEach(p -> { CSVProject proj = new CSVProject(); proj.setTopics(topic); -// if (topicdescription != null) { -// proj.setTopicdescription(topicdescription); -// } proj.setProgramme(p); proj.setId(csvProject.get().getId());