aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/CacheDetailActivity.java
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2013-10-03 20:48:28 +0200
committerBananeweizen <Bananeweizen@gmx.de>2013-10-03 20:48:28 +0200
commitda213b6ecfb952a35e261e9f4a02b2e7c4e113f4 (patch)
tree37df517675870138ae72ae4f56150de4ead0050f /main/src/cgeo/geocaching/CacheDetailActivity.java
parente3664d295f425f5585305653623a82852e36f2c1 (diff)
downloadcgeo-da213b6ecfb952a35e261e9f4a02b2e7c4e113f4.zip
cgeo-da213b6ecfb952a35e261e9f4a02b2e7c4e113f4.tar.gz
cgeo-da213b6ecfb952a35e261e9f4a02b2e7c4e113f4.tar.bz2
refactoring: silence findbug issue
Diffstat (limited to 'main/src/cgeo/geocaching/CacheDetailActivity.java')
-rw-r--r--main/src/cgeo/geocaching/CacheDetailActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java
index c66741d..dc98a79 100644
--- a/main/src/cgeo/geocaching/CacheDetailActivity.java
+++ b/main/src/cgeo/geocaching/CacheDetailActivity.java
@@ -1669,6 +1669,7 @@ public class CacheDetailActivity extends AbstractViewPagerActivity<CacheDetailAc
private final View shortDescView;
public LoadDescriptionTask(final String description, final View descriptionView, final View loadingIndicatorView, final View shortDescView) {
+ assert descriptionView instanceof IndexOutOfBoundsAvoidingTextView;
this.descriptionString = description;
this.descriptionView = (IndexOutOfBoundsAvoidingTextView) descriptionView;
this.loadingIndicatorView = loadingIndicatorView;