Skip to content

Commit

Permalink
use constant rather than hardcode
Browse files Browse the repository at this point in the history
Co-Authored-By: rugk <rugk+git@posteo.de>
  • Loading branch information
matkoniecz and rugk authored Jun 25, 2019
1 parent 9506bcc commit 527bc7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static OsmConnection osmConnection(OAuthConsumer consumer)
Provider<OverpassMapDataParser> parserProvider, SharedPreferences prefs)
{
OsmConnection overpassConnection = new OsmConnection(
prefs.getString(Prefs.OVERPASS_URL, "https://overpass-api.de/api/"), ApplicationConstants.USER_AGENT, null);
prefs.getString(Prefs.OVERPASS_URL, OVERPASS_API_URL), ApplicationConstants.USER_AGENT, null);
return new OverpassMapDataDao(overpassConnection, parserProvider);
}

Expand Down

0 comments on commit 527bc7f

Please sign in to comment.