Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Apr 5, 2024
1 parent afa5442 commit a4f87c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PolygonNodeConverter {
* to have "self-touching" structure.
* There are the same number of output sections as input ones.
*
* @param polySections
* @param polySections the original sections
* @return the converted sections
*/
public static List<NodeSection> convert(List<NodeSection> polySections) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@ public int locate(Coordinate pt) {
//TODO: provide an indexed option - or just always use indexed?
RelatePointLocator locator = new RelatePointLocator(geom);
int loc = locator.locate(pt);
/*
int locOLD = OLDlocate(pt);
if (loc != locOLD) {
throw new IllegalStateException("locations do not match");
}
*/
return loc;
}

Expand Down

0 comments on commit a4f87c9

Please sign in to comment.