Skip to content

Commit

Permalink
AVRO-2822: Add warning to an experimental method.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanSkraba authored and iemejia committed Jun 1, 2020
1 parent 59f2201 commit 6e9286e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang/java/avro/src/main/java/org/apache/avro/Schema.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ public String toString(boolean pretty) {
* @param referencedSchemas referenced schemas
* @param pretty if true, pretty-print JSON.
*/
@Deprecated("Use at your own risk. This method should be removed with AVRO-2832.")
public String toString(Collection<Schema> referencedSchemas, boolean pretty) {
Schema.Names names = new Schema.Names();
if (referencedSchemas != null) {
Expand Down

0 comments on commit 6e9286e

Please sign in to comment.