replace {list}.iterator().next() with {list}.get(0)
Merge branch 'cassandra-1.2' into trunk