Fix incorrect comparison
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 27 Sep 2021 12:34:26 +0000 (14:34 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 27 Sep 2021 12:34:26 +0000 (14:34 +0200)
commit04f79f207d77abc1d28043fa22f4c4ad946dd1ae
treeb354d0a2221310a14aa2393ad85b24b3c1e5dc09
parent2d3755cb61411caa257ad9e605b4b828649bbbdc
Fix incorrect comparison

The result of Object.equals(Object) will _always_ be non-null because a
primitive is always non-null. So once we use the correct method to check
the result of the equals call everything will be fine.
src/main/java/net/pterodactylus/sone/data/impl/ImageImpl.java
src/test/kotlin/net/pterodactylus/sone/data/impl/ImageImplTest.kt