From 6b63668d3f0ad17571f8ef6bebc204155444c190 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Wed, 29 Jul 2020 16:57:45 +0200 Subject: [PATCH] - --- .../src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Context.java | 3 --- .../main/java/eu/dnetlib/dhp/schema/dump/oaf/Provenance.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Context.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Context.java index 915974d86..2677d7fd5 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Context.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Context.java @@ -15,7 +15,6 @@ public class Context extends Qualifier { this.provenance = provenance; } - @Override public int hashCode() { String provenance = new String(); @@ -23,6 +22,4 @@ public class Context extends Qualifier { return Objects.hash(getCode(), getLabel(), provenance); } - - } diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Provenance.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Provenance.java index bfd84dfee..f30e0ea2d 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Provenance.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Provenance.java @@ -30,7 +30,7 @@ public class Provenance implements Serializable { return p; } - public String toString(){ + public String toString() { return provenance + trust; } }