diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2011-10-14 14:05:54 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2011-10-14 14:05:54 +0200 |
| commit | 50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3 (patch) | |
| tree | 64d00a9c63c212b8e5cef72f8e3a53ebdea69d91 | |
| parent | 84329afb6158201e2caca9c158a11f81fd9bca61 (diff) | |
| download | cgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.zip cgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.tar.gz cgeo-50468a0cb95e4ad7c7507c50aa1fd59e28d0f5e3.tar.bz2 | |
Remove unused parameter
| -rw-r--r-- | main/src/cgeo/geocaching/cgWaypoint.java | 2 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/cgeodetail.java | 2 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/cgeowaypoint.java | 2 |
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); |
