opengeo/GeoGit — pull request #316 by volaya (2013-06-03 18:03:44+00:00)
Title: fixed bug when resolving default geometry.

The mapping to get the index of the geometry field was used twice, resulting in a wrong index and a later ClassCastException when getting the value.