javaapiforkml icon indicating copy to clipboard operation
javaapiforkml copied to clipboard

fix numeric equality check

Open hdeadman opened this issue 1 year ago • 1 comments

This changes a couple places where the equal operator (or not equal operator) was used with Double objects. According to IntelliJ these were the only two instances of that being done.

hdeadman avatar Mar 20 '24 22:03 hdeadman

Hi @hdeadman, thanks for the PR. I've created an alternative that uses best practices as documented here https://www.baeldung.com/java-comparing-doubles, please check here: https://github.com/urbancamo/javaapiforkml/pull/45

Let me know if you have any comments. Regards, Mark

urbancamo avatar Mar 21 '24 11:03 urbancamo