Skip to content

Commit

Permalink
minor fix - consolidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Aug 21, 2024
1 parent 0cb8cdc commit c4c3f24
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ static synchronized Schema getSchema(Descriptors.Descriptor descriptor) {
throw new UnsupportedOperationException("Infer schema of Struct type is not supported.");
}
throw new IllegalArgumentException(
"Cannot infer schema with a circular reference. Proto Field: "
+ descriptor.getFullName());
"Cannot infer schema with a circular reference. Proto Field: " + name);
}
return existingSchema;
}
Expand Down

0 comments on commit c4c3f24

Please sign in to comment.