From b7e49aee8d79e59dabdc05bc00bebc0cde4f0f32 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 13 Aug 2020 18:44:07 +0200 Subject: [PATCH] removed commented code --- .../community/CommunityConfigurationFactory.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/CommunityConfigurationFactory.java b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/CommunityConfigurationFactory.java index e3662e04c..9a24c5280 100644 --- a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/CommunityConfigurationFactory.java +++ b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/CommunityConfigurationFactory.java @@ -110,13 +110,6 @@ public class CommunityConfigurationFactory { } private static List parseZenodoCommunities(final Node node) { -// final Node oacommunitynode = node.selectSingleNode("./oacommunity"); -// String oacommunity = null; -// if (oacommunitynode != null) { -// String tmp = oacommunitynode.getText(); -// if (StringUtils.isNotBlank(tmp)) -// oacommunity = tmp; -// } final List list = node.selectNodes("./zenodocommunities/zenodocommunity"); final List zenodoCommunityList = new ArrayList<>(); @@ -127,11 +120,7 @@ public class CommunityConfigurationFactory { zenodoCommunityList.add(zc); } -// if (oacommunity != null) { -// ZenodoCommunity zc = new ZenodoCommunity(); -// zc.setZenodoCommunityId(oacommunity); -// zenodoCommunityList.add(zc); -// } + log.info("size of the zenodo community list " + zenodoCommunityList.size()); return zenodoCommunityList; }