Skip to content

Commit

Permalink
Adding documentation to default constructor. (Azure#36862)
Browse files Browse the repository at this point in the history
* Adding documentation to default constructor.

* Update sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java

Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com>
  • Loading branch information
conniey and srnagar authored Sep 20, 2023
1 parent f18de85 commit 7ca523e
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,13 @@ public final class SchemaFormat extends ExpandableStringEnum<SchemaFormat> {
public static SchemaFormat fromString(String name) {
return fromString(name.toLowerCase(Locale.ROOT), SchemaFormat.class);
}

/**
* Creates a new instance of Schema Format.
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SchemaFormat() {
super();
}
}

0 comments on commit 7ca523e

Please sign in to comment.