aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgeonavigate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgeo/geocaching/cgeonavigate.java')
-rw-r--r--src/cgeo/geocaching/cgeonavigate.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cgeo/geocaching/cgeonavigate.java b/src/cgeo/geocaching/cgeonavigate.java
index e6c5462..7b1fd5c 100644
--- a/src/cgeo/geocaching/cgeonavigate.java
+++ b/src/cgeo/geocaching/cgeonavigate.java
@@ -30,8 +30,8 @@ public class cgeonavigate extends AbstractActivity {
private cgUpdateDir dirUpdate = new UpdateDirection();
private Double dstLatitude = null;
private Double dstLongitude = null;
- private Double cacheHeading = new Double(0);
- private Double northHeading = new Double(0);
+ private Double cacheHeading = Double.valueOf(0);
+ private Double northHeading = Double.valueOf(0);
private String title = null;
private String name = null;
private TextView navType = null;
@@ -418,7 +418,7 @@ public class cgeonavigate extends AbstractActivity {
if (geo != null && geo.bearingNow != null) {
northHeading = geo.bearingNow;
} else {
- northHeading = new Double(0);
+ northHeading = Double.valueOf(0);
}
}
} catch (Exception e) {