From 3a8c524fced542cb7a414181d64fb5d12e15849d Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 25 Sep 2020 16:34:02 +0200 Subject: [PATCH] refactor --- .../src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java | 2 -- .../main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java | 1 - 2 files changed, 3 deletions(-) diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java index 36013837e6..edc6f28f5e 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java @@ -24,10 +24,8 @@ public class Instance implements Serializable { private String type; - private List url; - private String publicationdate;// dateofacceptance; private String refereed; // peer-review status diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java index f5ffb6e0f3..9bb6653d0b 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java @@ -373,7 +373,6 @@ public class ResultMapper implements Serializable { private static Instance getGraphInstance(eu.dnetlib.dhp.schema.oaf.Instance i) { Instance instance = new Instance(); - setCommonValue(i, instance); return instance;