aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-09-06 05:03:31 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-09-06 05:03:31 +0200
commitede2a9cd6d6b1943aa6a94fd984de0ef3692b6bc (patch)
treea466bac3632edbcd14910211de5416d96bd81b2e /src
parent1800d5bb56b9d6f49ac62486f7d1b903849dee0c (diff)
downloadcgeo-ede2a9cd6d6b1943aa6a94fd984de0ef3692b6bc.zip
cgeo-ede2a9cd6d6b1943aa6a94fd984de0ef3692b6bc.tar.gz
cgeo-ede2a9cd6d6b1943aa6a94fd984de0ef3692b6bc.tar.bz2
Use long instead of Long when appropriate
Diffstat (limited to 'src')
-rw-r--r--src/cgeo/geocaching/cgSearch.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgeo/geocaching/cgSearch.java b/src/cgeo/geocaching/cgSearch.java
index 8f40256..7b75760 100644
--- a/src/cgeo/geocaching/cgSearch.java
+++ b/src/cgeo/geocaching/cgSearch.java
@@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.List;
public class cgSearch {
- private Long id = null;
+ private long id;
private List<String> geocodes = new ArrayList<String>();
public String error = null;
@@ -16,7 +16,7 @@ public class cgSearch {
id = System.currentTimeMillis(); // possible collisions here - not guaranteed to be unique
}
- public Long getCurrentId() {
+ public long getCurrentId() {
return id;
}