I didn't actually make this code, just to clarify. I did learn the == lesson the hard way though. I was comparing two UUIDs and it didn't warn me, so I was super confused until a kind spigot user informed me that UUIDs also need to be compared with .equals.
View all comments
Show parent comment
1
u/inventord Oct 14 '21
I didn't actually make this code, just to clarify. I did learn the == lesson the hard way though. I was comparing two UUIDs and it didn't warn me, so I was super confused until a kind spigot user informed me that UUIDs also need to be compared with .equals.