5.10!
I climbed a 5.10 route on Monday and did it again yesterday. I think it was actually a 5.10-, but that's good enough for me.
while (iter.hasNext())
{
SummaryObject obj = (SummaryObject) iter.next();
SummaryObject newObj = obj.newInstance();
newObj.setGroup(currGroup);
newSummaryObjs.add(newObj);
}
While the decompiled code was:
SummaryObject newObj;
for(; iter.hasNext(); newSummaryObjs.add(newObj))
{
SummaryObject obj = (SummaryObject)iter.next();
newObj = obj.newInstance();
newObj.setGroup(currGroup);
}
It looked like all while loops were turned into for loops. Interesting to see how the compiler would optimize things.