aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogEntry.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/LogEntry.java')
-rw-r--r--main/src/cgeo/geocaching/LogEntry.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/src/cgeo/geocaching/LogEntry.java b/main/src/cgeo/geocaching/LogEntry.java
index 0121424..3c9f2b6 100644
--- a/main/src/cgeo/geocaching/LogEntry.java
+++ b/main/src/cgeo/geocaching/LogEntry.java
@@ -9,7 +9,6 @@ import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import java.util.ArrayList;
-import java.util.Calendar;
import java.util.Collections;
import java.util.List;
import java.util.regex.Pattern;
@@ -30,10 +29,6 @@ public final class LogEntry {
public String cacheName = ""; // used for trackables
public String cacheGuid = ""; // used for trackables
- public LogEntry(final Calendar date, final LogType type, final String text) {
- this(Settings.getUsername(), date.getTimeInMillis(), type, text);
- }
-
public LogEntry(final long dateInMilliSeconds, final LogType type, final String text) {
this(Settings.getUsername(), dateInMilliSeconds, type, text);
}
@@ -94,7 +89,7 @@ public final class LogEntry {
}
}
if (titles.isEmpty()) {
- titles.add(cgeoapplication.getInstance().getString(R.string.cache_log_image_default_title));
+ titles.add(CgeoApplication.getInstance().getString(R.string.cache_log_image_default_title));
}
return StringUtils.join(titles, ", ");
}