nilsschmidt1337 / ldparteditor

The LDraw™ Part Editor. Create and edit LDraw™ Parts quick and easy.
http://nilsschmidt1337.github.io/ldparteditor/
MIT License
43 stars 8 forks source link

Use the "equals" method if value comparison was intended. #819

Closed nilsschmidt1337 closed 3 years ago

nilsschmidt1337 commented 3 years ago

When myFunctionB() and myFunctionB() both returning an Integer, the result should be compared with equals. I am aware of autoboxing and that it is better to prefer primitives over objects, but sometimes you can't control the return type.

nilsschmidt1337 commented 3 years ago

Closed with commit 791c2a8.