Commit 7150812
committed
refactor(heatmaps): Replace check with require in HeatmapTileProvider.Builder
This commit replaces the `check` function with `require` for validating input data in the `HeatmapTileProvider.Builder`.
Using `require` is more idiomatic for precondition checks, throwing an `IllegalArgumentException` which is more appropriate in this context than the `IllegalStateException` thrown by `check`.1 parent 2be8037 commit 7150812
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments