From 7ca523e9baf3f3d3a93d24949a64d5e90f1713ff Mon Sep 17 00:00:00 2001 From: Connie Yau Date: Wed, 20 Sep 2023 13:50:24 -0700 Subject: [PATCH] Adding documentation to default constructor. (#36862) * 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> --- .../azure/data/schemaregistry/models/SchemaFormat.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java b/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java index c47cc2791a770..6b30e0abd2c3d 100644 --- a/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java +++ b/sdk/schemaregistry/azure-data-schemaregistry/src/main/java/com/azure/data/schemaregistry/models/SchemaFormat.java @@ -34,4 +34,13 @@ public final class SchemaFormat extends ExpandableStringEnum { 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(); + } }