aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/AbstractLoggingActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/AbstractLoggingActivity.java')
-rw-r--r--main/src/cgeo/geocaching/AbstractLoggingActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/AbstractLoggingActivity.java b/main/src/cgeo/geocaching/AbstractLoggingActivity.java
index 62cb5cb..37c3643 100644
--- a/main/src/cgeo/geocaching/AbstractLoggingActivity.java
+++ b/main/src/cgeo/geocaching/AbstractLoggingActivity.java
@@ -20,7 +20,7 @@ public abstract class AbstractLoggingActivity extends AbstractActivity {
private static final int MENU_SIGNATURE = 1;
private static final int MENU_SMILEY = 2;
- public AbstractLoggingActivity(String helpTopic) {
+ protected AbstractLoggingActivity(String helpTopic) {
super(helpTopic);
}
@@ -51,11 +51,11 @@ public abstract class AbstractLoggingActivity extends AbstractActivity {
menu.findItem(MENU_SIGNATURE).setVisible(signatureAvailable);
boolean smileyVisible = false;
- final cgCache cache = getLogContext().getCache();
+ final Geocache cache = getLogContext().getCache();
if (cache != null && ConnectorFactory.getConnector(cache).equals(GCConnector.getInstance())) {
smileyVisible = true;
}
- final cgTrackable trackable = getLogContext().getTrackable();
+ final Trackable trackable = getLogContext().getTrackable();
if (trackable != null && ConnectorFactory.getConnector(trackable).equals(GCConnector.getInstance())) {
smileyVisible = true;
}