Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
*/
public class InternalSchema implements Serializable {

private static final InternalSchema EMPTY_SCHEMA = new InternalSchema(-1L, RecordType.get());

private static final long DEFAULT_VERSION_ID = 0;

private final RecordType record;
Expand All @@ -50,7 +52,7 @@ public class InternalSchema implements Serializable {
private transient Map<Integer, String> idToName = null;

public static InternalSchema getEmptyInternalSchema() {
return new InternalSchema(-1L, RecordType.get());
return EMPTY_SCHEMA;
}

public boolean isEmptySchema() {
Expand Down