It's Monday, which means it's time for another blooper... What's wrong with this code?
boolean hasThing( ListUpdate: Minor edit to add missing parenthesis from if statement that got "lost in translation" en-route to the blog :)things, Thing thing ) { for ( int i=0; i < things.size(); i++ ) { if ( thing.equals( things.get( i ) ) ) { return true; } } return false; }

13 comments:
New comments are not allowed.