Skip to content

Commit

Permalink
Remove GeoJSON Index Getter APIs from the Public API (#21830)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft authored May 25, 2021
1 parent 1f6009b commit afb138d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public boolean equals(Object obj) {
* @throws IndexOutOfBoundsException If the {@link GeoBoundingBox} doesn't have altitude coordinates and {@code i}
* is greater than {@code 3} or {@link GeoBoundingBox} has altitude coordinates and {@code i} is greater than
*/
public double get(int i) {
double get(int i) {
if (minAltitude != null && maxAltitude != null) {
switch (i) {
case 0:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public int count() {
* @return The coordinate value for the index.
* @throws IndexOutOfBoundsException If {@code index} is equal to or greater than {@link #count()}.
*/
public double get(int index) {
double get(int index) {
switch (index) {
case 0:
return longitude;
Expand Down

0 comments on commit afb138d

Please sign in to comment.