aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocode
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/geocode')
-rw-r--r--src/org/traccar/geocode/GoogleReverseGeocoder.java9
-rw-r--r--src/org/traccar/geocode/ReverseGeocoder.java8
2 files changed, 3 insertions, 14 deletions
diff --git a/src/org/traccar/geocode/GoogleReverseGeocoder.java b/src/org/traccar/geocode/GoogleReverseGeocoder.java
index 1e61eb6ee..9aebbf8a0 100644
--- a/src/org/traccar/geocode/GoogleReverseGeocoder.java
+++ b/src/org/traccar/geocode/GoogleReverseGeocoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2012 - 2013 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,16 +23,11 @@ import java.nio.charset.Charset;
import org.traccar.helper.Log;
-/**
- * Reverse geocoder implementation using Google
- */
public class GoogleReverseGeocoder implements ReverseGeocoder {
private final static String MARKER = "\"formatted_address\" : \"";
- /**
- * Get address string by coordinates
- */
+ @Override
public String getAddress(double latitude, double longitude) {
try {
diff --git a/src/org/traccar/geocode/ReverseGeocoder.java b/src/org/traccar/geocode/ReverseGeocoder.java
index d8ea5d7ab..67ce68ac2 100644
--- a/src/org/traccar/geocode/ReverseGeocoder.java
+++ b/src/org/traccar/geocode/ReverseGeocoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2012 - 2013 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,14 +15,8 @@
*/
package org.traccar.geocode;
-/**
- * Reverse geocoder interface
- */
public interface ReverseGeocoder {
- /**
- * Get address string by coordinates
- */
public String getAddress(double latitude, double longitude);
}