schildbach/public-transport-enabler — pull request #6 by aelkhour (2014-04-25 22:58:41+00:00)
Title: Handle String id correctly in Location assertId.

The current implementation of assertId in Location.java raises an assertion when a location id is a string, which is an acceptable case.

This commit fixes the issue by catching a NumberFormatException when calling Integer.ParseInt(id).

Thanks for merging if you think this is a good fix.