aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils/HtmlUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/utils/HtmlUtils.java')
-rw-r--r--main/src/cgeo/geocaching/utils/HtmlUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/utils/HtmlUtils.java b/main/src/cgeo/geocaching/utils/HtmlUtils.java
index 37e20ec..51c4d6e 100644
--- a/main/src/cgeo/geocaching/utils/HtmlUtils.java
+++ b/main/src/cgeo/geocaching/utils/HtmlUtils.java
@@ -34,7 +34,7 @@ public final class HtmlUtils {
if (html instanceof Spanned) {
Spanned text = (Spanned) html;
Object[] styles = text.getSpans(0, text.length(), Object.class);
- ArrayList<Pair<Integer, Integer>> removals = new ArrayList<Pair<Integer, Integer>>();
+ ArrayList<Pair<Integer, Integer>> removals = new ArrayList<>();
for (Object style : styles) {
if (style instanceof ImageSpan) {
int start = text.getSpanStart(style);