Skip to content

Commit 31eb527

Browse files
committed
[who-icatx/icatx-project#67]: Fixed OWLClassData
1 parent 56d7871 commit 31eb527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/edu/stanford/protege/webprotege/entity/OWLClassData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ protected static OWLClassData get(@JsonProperty("iri") @Nonnull String iri,
6565
@JsonProperty(value = "shortForms") @Nullable ImmutableList<ShortForm> shortForms,
6666
@JsonProperty("deprecated") boolean deprecated,
6767
@JsonProperty("statuses") ImmutableSet<EntityStatus> statuses) {
68-
return new AutoValue_OWLClassData(
68+
return get(
69+
new OWLClassImpl(IRI.create(iri)),
6970
Objects.requireNonNullElse(shortForms, ImmutableList.of()),
7071
deprecated,
71-
new OWLClassImpl(IRI.create(iri)),
7272
Objects.requireNonNullElse(statuses, ImmutableSet.of()));
7373
}
7474

0 commit comments

Comments
 (0)