aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeotrackable.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-05-23 22:10:24 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-05-23 22:10:24 +0200
commiteaccb053740cbd7c26118e3a295a4b3ed4700d29 (patch)
tree502b33c835839547315f8c8b0e762b7ca93cd996 /main/src/cgeo/geocaching/cgeotrackable.java
parent1850f7bb4db0ddf3416382b5d964e215c1092a3a (diff)
downloadcgeo-eaccb053740cbd7c26118e3a295a4b3ed4700d29.zip
cgeo-eaccb053740cbd7c26118e3a295a4b3ed4700d29.tar.gz
cgeo-eaccb053740cbd7c26118e3a295a4b3ed4700d29.tar.bz2
Refactoring: add missing override annotations
This was requested by SammysHP.
Diffstat (limited to 'main/src/cgeo/geocaching/cgeotrackable.java')
-rw-r--r--main/src/cgeo/geocaching/cgeotrackable.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeotrackable.java b/main/src/cgeo/geocaching/cgeotrackable.java
index 3ba4a57..1958aee 100644
--- a/main/src/cgeo/geocaching/cgeotrackable.java
+++ b/main/src/cgeo/geocaching/cgeotrackable.java
@@ -143,6 +143,7 @@ public class cgeotrackable extends AbstractActivity {
spotted.setClickable(true);
if (cgTrackable.SPOTTED_CACHE == trackable.getSpottedType()) {
spotted.setOnClickListener(new View.OnClickListener() {
+ @Override
public void onClick(View arg0) {
CacheDetailActivity.startActivityGuid(cgeotrackable.this, trackable.getSpottedGuid(), trackable.getSpottedName());
}
@@ -197,6 +198,7 @@ public class cgeotrackable extends AbstractActivity {
trackableImage.setClickable(true);
trackableImage.setOnClickListener(new View.OnClickListener() {
+ @Override
public void onClick(View arg0) {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(trackable.getImage())));
}
@@ -455,6 +457,7 @@ public class cgeotrackable extends AbstractActivity {
final String cacheGuid = log.cacheGuid;
final String cacheName = log.cacheName;
((TextView) rowView.findViewById(R.id.location)).setOnClickListener(new View.OnClickListener() {
+ @Override
public void onClick(View arg0) {
CacheDetailActivity.startActivityGuid(cgeotrackable.this, cacheGuid, Html.fromHtml(cacheName).toString());
}
@@ -498,6 +501,7 @@ public class cgeotrackable extends AbstractActivity {
private class UserActionsListener implements View.OnClickListener {
+ @Override
public void onClick(View view) {
if (view == null) {
return;