Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.35.0
Description
When i read the source code of `CalciteSchema` found so many null checks below:
if (tableMap == null) { this.tableMap = new NameMap<>(); } else { this.tableMap = Objects.requireNonNull(tableMap, "tableMap"); } if (latticeMap == null) { this.latticeMap = new NameMap<>(); } else { this.latticeMap = Objects.requireNonNull(latticeMap, "latticeMap"); }
i think we can remove it. it was misleading.
Attachments
Issue Links
- links to