aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-10-14 14:05:54 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-10-14 14:05:54 +0200
commit50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3 (patch)
tree64d00a9c63c212b8e5cef72f8e3a53ebdea69d91
parent84329afb6158201e2caca9c158a11f81fd9bca61 (diff)
downloadcgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.zip
cgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.tar.gz
cgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.tar.bz2
Remove unused parameter
-rw-r--r--main/src/cgeo/geocaching/cgWaypoint.java2
-rw-r--r--main/src/cgeo/geocaching/cgeodetail.java2
-rw-r--r--main/src/cgeo/geocaching/cgeowaypoint.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgWaypoint.java b/main/src/cgeo/geocaching/cgWaypoint.java
index aaaa07e..027ee03 100644
--- a/main/src/cgeo/geocaching/cgWaypoint.java
+++ b/main/src/cgeo/geocaching/cgWaypoint.java
@@ -22,7 +22,7 @@ public class cgWaypoint implements Comparable<cgWaypoint> {
public String note = "";
private Integer cachedOrder = null;
- public void setIcon(Resources res, cgBase base, TextView nameView) {
+ public void setIcon(final Resources res, final TextView nameView) {
nameView.setCompoundDrawablesWithIntrinsicBounds(res.getDrawable(type.drawableId), null, null, null);
}
diff --git a/main/src/cgeo/geocaching/cgeodetail.java b/main/src/cgeo/geocaching/cgeodetail.java
index 00d7ef6..637330e 100644
--- a/main/src/cgeo/geocaching/cgeodetail.java
+++ b/main/src/cgeo/geocaching/cgeodetail.java
@@ -1040,7 +1040,7 @@ public class cgeodetail extends AbstractActivity {
nameView.setText(wpt.name.trim());
}
}
- wpt.setIcon(res, base, nameView);
+ wpt.setIcon(res, nameView);
// avoid HTML parsing
if (containsHtml(wpt.note)) {
diff --git a/main/src/cgeo/geocaching/cgeowaypoint.java b/main/src/cgeo/geocaching/cgeowaypoint.java
index e6ef877..31570bb 100644
--- a/main/src/cgeo/geocaching/cgeowaypoint.java
+++ b/main/src/cgeo/geocaching/cgeowaypoint.java
@@ -69,7 +69,7 @@ public class cgeowaypoint extends AbstractActivity {
identification.setText(res.getString(R.string.waypoint_custom));
}
registerNavigationMenu(identification);
- waypoint.setIcon(res, base, identification);
+ waypoint.setIcon(res, identification);
if (waypoint.coords != null) {
coords.setText(Html.fromHtml(cgBase.formatCoords(waypoint.coords, true)), TextView.BufferType.SPANNABLE);