Skip to content

Commit

Permalink
refactor: removes unnecessary if statement
Browse files Browse the repository at this point in the history
Removes if statement which didn't change the outcome of the program.
  • Loading branch information
LinusWallin committed Mar 3, 2024
1 parent e0b04d3 commit 2c31979
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/esri/core/geometry/Geohash.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ public static String[] coveringGeohash(Envelope2D envelope) {
return new String[] {""};
}
String[] geoHash = {containingGeohash(envelope)};
if (xmin == xmax && ymin == ymax) {
Point2D p = new Point2D(xmax, ymax);
return geoHash;
}
if (geoHash[0] != ""){
return geoHash;
}
Expand Down

0 comments on commit 2c31979

Please sign in to comment.