diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-01-12 12:06:36 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-01-12 12:06:36 +0100 |
| commit | 79ebf1b0d61373dc76633908fd11ed7d12247013 (patch) | |
| tree | 5c2cd91b749516759a91618dd406e7ae10bc9835 /main/src/cgeo/geocaching/LogEntry.java | |
| parent | 78b29e3669a1d2f3174e6040cd56e6ec5579d5b1 (diff) | |
| download | cgeo-79ebf1b0d61373dc76633908fd11ed7d12247013.zip cgeo-79ebf1b0d61373dc76633908fd11ed7d12247013.tar.gz cgeo-79ebf1b0d61373dc76633908fd11ed7d12247013.tar.bz2 | |
fix #2367: more intelligent initial logtype
Diffstat (limited to 'main/src/cgeo/geocaching/LogEntry.java')
| -rw-r--r-- | main/src/cgeo/geocaching/LogEntry.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/LogEntry.java b/main/src/cgeo/geocaching/LogEntry.java index 060478f..df1038f 100644 --- a/main/src/cgeo/geocaching/LogEntry.java +++ b/main/src/cgeo/geocaching/LogEntry.java @@ -112,4 +112,8 @@ public final class LogEntry { } return log; } + + public boolean isOwn() { + return author.equalsIgnoreCase(Settings.getUsername()); + } } |
