Skip to content

Conversation

@tsmock
Copy link
Contributor

@tsmock tsmock commented Jul 12, 2022

tsmock added 2 commits August 25, 2022 08:02
This is caused when the latlon of the node is not known, and so
Node#getCoor returned a `null` value.

This patch fixes that by (a) using `isLatLonKnown` to ensure that
the node does have a valid lat/lon, and by not using the Node#getCoor
call (this also avoids an unnecessary allocation).

Signed-off-by: Taylor Smock <tsmock@fb.com>
Signed-off-by: Taylor Smock <tsmock@fb.com>
@tsmock tsmock merged commit cf0ba20 into JOSM:master Aug 25, 2022
@tsmock tsmock deleted the fixup-josm-22209 branch August 25, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant