DBZ-3528 turned access modifier of jsonNodeToSchemaBuilder() back to private

This commit is contained in:
Sungho Hwang 2021-11-15 22:18:47 +09:00 committed by Gunnar Morling
parent 03433b663b
commit 78c92c3772

View File

@ -33,7 +33,7 @@ public static Schema jsonNodeToSchema(JsonNode document) {
return jsonNodeToSchemaBuilder(document).build();
}
public static SchemaBuilder jsonNodeToSchemaBuilder(JsonNode document) {
private static SchemaBuilder jsonNodeToSchemaBuilder(JsonNode document) {
final SchemaBuilder schemaBuilder = SchemaBuilder.struct().optional();
if (document != null) {
Iterator<Entry<String, JsonNode>> fieldsEntries = document.fields();