aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/geopoint
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-22 11:40:06 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-22 13:38:02 +0200
commit6bc5c1b4a9eaa41195f52fde26f3c84b59fdb273 (patch)
tree3fe8b7fe2d6d60a24ae1cabb8ed804c4e81fb9da /main/src/cgeo/geocaching/geopoint
parentb3e3e2c45e480b677d91bc509a3c73627a2b989b (diff)
downloadcgeo-6bc5c1b4a9eaa41195f52fde26f3c84b59fdb273.zip
cgeo-6bc5c1b4a9eaa41195f52fde26f3c84b59fdb273.tar.gz
cgeo-6bc5c1b4a9eaa41195f52fde26f3c84b59fdb273.tar.bz2
Refactoring: fix Javadoc for Geopoint
Diffstat (limited to 'main/src/cgeo/geocaching/geopoint')
-rw-r--r--main/src/cgeo/geocaching/geopoint/Geopoint.java6
-rw-r--r--main/src/cgeo/geocaching/geopoint/GeopointParser.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/geopoint/Geopoint.java b/main/src/cgeo/geocaching/geopoint/Geopoint.java
index 2fe7bd2..974c902 100644
--- a/main/src/cgeo/geocaching/geopoint/Geopoint.java
+++ b/main/src/cgeo/geocaching/geopoint/Geopoint.java
@@ -56,7 +56,7 @@ public final class Geopoint implements ICoordinates, Parcelable {
* string to parse
* @throws Geopoint.ParseException
* if the string cannot be parsed
- * @see GeopointParser.parse()
+ * @see GeopointParser#parse(String)
*/
public Geopoint(final String text) {
final Geopoint parsed = GeopointParser.parse(text);
@@ -73,7 +73,7 @@ public final class Geopoint implements ICoordinates, Parcelable {
* longitude string to parse
* @throws Geopoint.ParseException
* if any argument string cannot be parsed
- * @see GeopointParser.parse()
+ * @see GeopointParser#parse(String, String)
*/
public Geopoint(final String latText, final String lonText) {
this(GeopointParser.parseLatitude(latText), GeopointParser.parseLongitude(lonText));
@@ -82,7 +82,7 @@ public final class Geopoint implements ICoordinates, Parcelable {
/**
* Creates new Geopoint with given Location.
*
- * @param gp
+ * @param loc
* the Location to clone
*/
public Geopoint(final Location loc) {
diff --git a/main/src/cgeo/geocaching/geopoint/GeopointParser.java b/main/src/cgeo/geocaching/geopoint/GeopointParser.java
index 68263f6..7604b9d 100644
--- a/main/src/cgeo/geocaching/geopoint/GeopointParser.java
+++ b/main/src/cgeo/geocaching/geopoint/GeopointParser.java
@@ -146,7 +146,7 @@ class GeopointParser {
/**
* Parses latitude out of a given string.
*
- * @see parse()
+ * @see #parse(String)
* @param text
* the string to be parsed
* @return the latitude as decimal degree
@@ -161,7 +161,7 @@ class GeopointParser {
/**
* Parses longitude out of a given string.
*
- * @see parse()
+ * @see #parse(String)
* @param text
* the string to be parsed
* @return the longitude as decimal degree