Remove Location.toDebugString(), use toString() instead.

This commit is contained in:
Andreas Schildbach 2014-05-14 12:37:31 +02:00
parent f2b0467f6b
commit 1b987a6b72
29 changed files with 31 additions and 36 deletions

View file

@ -1464,7 +1464,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
return "<Address type=\"WGS84\" x=\"" + location.lon + "\" y=\"" + location.lat + "\" name=\""
+ (location.place != null ? location.place + ", " : "") + location.name + "\" />";
else
throw new IllegalArgumentException("cannot handle: " + location.toDebugString());
throw new IllegalArgumentException("cannot handle: " + location);
}
protected final String locationId(final Location location)