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; } }