From ede2a9cd6d6b1943aa6a94fd984de0ef3692b6bc Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 6 Sep 2011 05:03:31 +0200 Subject: Use long instead of Long when appropriate --- src/cgeo/geocaching/cgSearch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 geocodes = new ArrayList(); 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; } -- cgit v1.1