diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-01-02 23:34:59 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-01-02 23:34:59 +0100 |
commit | 9a58eff9c778ff6ccead71f38c3bb530fc4a1f7f (patch) | |
tree | 5553e998ee3601de086d1710dddf9bd3bc84668f /main/src/cgeo/geocaching/Trackable.java | |
parent | 20c01477343609313e6df30b1c43ff4ec88e8b74 (diff) | |
download | cgeo-9a58eff9c778ff6ccead71f38c3bb530fc4a1f7f.zip cgeo-9a58eff9c778ff6ccead71f38c3bb530fc4a1f7f.tar.gz cgeo-9a58eff9c778ff6ccead71f38c3bb530fc4a1f7f.tar.bz2 |
refactoring: remove unused methods, add null annotations
Diffstat (limited to 'main/src/cgeo/geocaching/Trackable.java')
-rw-r--r-- | main/src/cgeo/geocaching/Trackable.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Trackable.java b/main/src/cgeo/geocaching/Trackable.java index 658dbd0..f93ec7b 100644 --- a/main/src/cgeo/geocaching/Trackable.java +++ b/main/src/cgeo/geocaching/Trackable.java @@ -47,6 +47,7 @@ public class Trackable implements ILogable { return getConnector().getUrl(this); } + @NonNull private TrackableConnector getConnector() { return ConnectorFactory.getConnector(this); } @@ -220,6 +221,7 @@ public class Trackable implements ILogable { this.trackingcode = trackingcode; } + @NonNull public Collection<Image> getImages() { final List<Image> images = new LinkedList<>(); if (StringUtils.isNotBlank(image)) { @@ -232,6 +234,7 @@ public class Trackable implements ILogable { return images; } + @NonNull static List<LogType> getPossibleLogTypes() { final List<LogType> logTypes = new ArrayList<>(); logTypes.add(LogType.RETRIEVED_IT); |