Copy 'n' Paste and the incorrigible programmer
We just never learn, do we?
String fromLocationCode;
Location fromLocation = request.getFromLocation();
Location fromLocation = request.getFromLocation();
String toLocationCode;
Location toLocation = request.getFromLocation();
// Do stuff to toLocation
First, my (extremely talented) colleague makes a similar copy and paste blooper, and one day later I repeat the same mistake. But, but... Select boring code, Ctrl-C, Ctrl-V, it's sooo easy...