Skip to content

Commit

Permalink
Cleanup of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jairajsolanke committed Jan 24, 2025
1 parent 4257bb1 commit 4402dcb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,13 @@ public static boolean isNullUnionOf(AvroType type, AvroSchema schema) {
* Handles list , union of list
* @return true for List of String and List of Union of String
*/
// change this
public static boolean isListTransformerApplicableForSchema(AvroSchema schema, boolean disableStringTransform) {
if (disableStringTransform || schema == null) {
return false;
}
return isNullUnionOf(AvroType.ARRAY, schema) && schemaContainsString(schema);
}

// change this
public static boolean isMapTransformerApplicable(AvroSchema schema, boolean disableTransform) {
if (disableTransform) {
return false;
Expand Down

0 comments on commit 4402dcb

Please sign in to comment.