diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-30 07:59:56 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-30 07:59:56 +1300 |
commit | 07dddfa531179f9ccdf73410e44807d84c480fd3 (patch) | |
tree | 1408a3de5cd376e5cd19be3219dd5f3c172d4de6 /src/org | |
parent | 108ef6e9eb985a9a602eac7ca3ee549e104f0f2d (diff) | |
download | trackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.tar.gz trackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.tar.bz2 trackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.zip |
Remove code duplication in reverse geocoder
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/ReverseGeocoderHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ReverseGeocoderHandler.java b/src/org/traccar/ReverseGeocoderHandler.java index 8cbcc72b5..4851b3281 100644 --- a/src/org/traccar/ReverseGeocoderHandler.java +++ b/src/org/traccar/ReverseGeocoderHandler.java @@ -36,7 +36,7 @@ public class ReverseGeocoderHandler implements ChannelUpstreamHandler { String formatString = Context.getConfig().getString("geocoder.format"); if (formatString != null) { - addressFormat = new AddressFormat(Context.getConfig().getString("geocoder.format")); + addressFormat = new AddressFormat(formatString); } else { addressFormat = new AddressFormat(); } |