Simplify JsonTypeInfo stub

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Artem Smotrakov
2021-07-28 14:23:50 +02:00
committed by GitHub
parent 158a75e5a1
commit 7fec575df8

View File

@@ -14,14 +14,8 @@ public @interface JsonTypeInfo {
CLASS("@class"),
MINIMAL_CLASS("@c");
private final String _defaultPropertyName;
private Id(String defProp) { }
private Id(String defProp) {
this._defaultPropertyName = defProp;
}
public String getDefaultPropertyName() {
return this._defaultPropertyName;
}
public String getDefaultPropertyName() { return null; }
}
}