aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ReverseGeocoderHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-30 07:59:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-30 07:59:56 +1300
commit07dddfa531179f9ccdf73410e44807d84c480fd3 (patch)
tree1408a3de5cd376e5cd19be3219dd5f3c172d4de6 /src/org/traccar/ReverseGeocoderHandler.java
parent108ef6e9eb985a9a602eac7ca3ee549e104f0f2d (diff)
downloadtrackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.tar.gz
trackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.tar.bz2
trackermap-server-07dddfa531179f9ccdf73410e44807d84c480fd3.zip
Remove code duplication in reverse geocoder
Diffstat (limited to 'src/org/traccar/ReverseGeocoderHandler.java')
-rw-r--r--src/org/traccar/ReverseGeocoderHandler.java2
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();
}