aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgCoord.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-09-14 23:54:46 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-09-14 23:54:46 +0200
commitccaab5d0b312b28ab15833ab8f11dd809ec93aab (patch)
tree4f80418eeb724a0c15ec6c80621e647b63a1a826 /src/cgeo/geocaching/cgCoord.java
parent4f7c67407019de18fd53b640edb9682a346fbfef (diff)
downloadcgeo-ccaab5d0b312b28ab15833ab8f11dd809ec93aab.zip
cgeo-ccaab5d0b312b28ab15833ab8f11dd809ec93aab.tar.gz
cgeo-ccaab5d0b312b28ab15833ab8f11dd809ec93aab.tar.bz2
Convert to Unix end-of-line format
Diffstat (limited to 'src/cgeo/geocaching/cgCoord.java')
-rw-r--r--src/cgeo/geocaching/cgCoord.java90
1 files changed, 45 insertions, 45 deletions
diff --git a/src/cgeo/geocaching/cgCoord.java b/src/cgeo/geocaching/cgCoord.java
index 09c9d91..17520ca 100644
--- a/src/cgeo/geocaching/cgCoord.java
+++ b/src/cgeo/geocaching/cgCoord.java
@@ -1,45 +1,45 @@
-package cgeo.geocaching;
-
-import cgeo.geocaching.geopoint.Geopoint;
-
-public class cgCoord {
-
- public Integer id = null;
- public String geocode = "";
- public String type = "cache";
- public String typeSpec = "traditional";
- public String name = "";
- public boolean found = false;
- public boolean disabled = false;
- public Geopoint coords = new Geopoint(0, 0);
- public Float difficulty = null;
- public Float terrain = null;
- public String size = null;
-
- public cgCoord() {
- }
-
- public cgCoord(cgCache cache) {
- disabled = cache.disabled;
- found = cache.found;
- geocode = cache.geocode;
- coords = cache.coords;
- name = cache.name;
- type = "cache";
- typeSpec = cache.type;
- difficulty = cache.difficulty;
- terrain = cache.terrain;
- size = cache.size;
- }
-
- public cgCoord(cgWaypoint waypoint) {
- id = waypoint.id;
- disabled = false;
- found = false;
- geocode = "";
- coords = waypoint.coords;
- name = waypoint.name;
- type = "waypoint";
- typeSpec = waypoint.type;
- }
-}
+package cgeo.geocaching;
+
+import cgeo.geocaching.geopoint.Geopoint;
+
+public class cgCoord {
+
+ public Integer id = null;
+ public String geocode = "";
+ public String type = "cache";
+ public String typeSpec = "traditional";
+ public String name = "";
+ public boolean found = false;
+ public boolean disabled = false;
+ public Geopoint coords = new Geopoint(0, 0);
+ public Float difficulty = null;
+ public Float terrain = null;
+ public String size = null;
+
+ public cgCoord() {
+ }
+
+ public cgCoord(cgCache cache) {
+ disabled = cache.disabled;
+ found = cache.found;
+ geocode = cache.geocode;
+ coords = cache.coords;
+ name = cache.name;
+ type = "cache";
+ typeSpec = cache.type;
+ difficulty = cache.difficulty;
+ terrain = cache.terrain;
+ size = cache.size;
+ }
+
+ public cgCoord(cgWaypoint waypoint) {
+ id = waypoint.id;
+ disabled = false;
+ found = false;
+ geocode = "";
+ coords = waypoint.coords;
+ name = waypoint.name;
+ type = "waypoint";
+ typeSpec = waypoint.type;
+ }
+}