TDWTF: Reverse Lookup Hashtable?

A hashtable was created. But the .get() method was never called. Instead, all lookups went through the entrySet iterator. Meaning, you were trying to lookup the KEY from the VALUE.

The put parameters should be reversed.

RSS feed for comments on this post · TrackBack URL

Leave a Comment