The new year bring with it a new project for me.
The new project came new colleagues.
And the new colleagues write funny stuff.
One colleague has his own way to check if two strings are the the same:
if (nodeId.compareTo("HEADER") == 0) { // ... } if (nodeId.compareTo("SHEET") == 0) { // ... } if (nodeId.compareTo("FOOTER") == 0) { // ... }
Log
Got it.
Found digging in a production logfile
Share this:
Leave a comment | posted in code you're paying for, nice comment