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 915974d865..2677d7fd56 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 bfd84dfee8..f30e0ea2d4 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; } }