aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogEntry.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/LogEntry.java')
-rw-r--r--main/src/cgeo/geocaching/LogEntry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/LogEntry.java b/main/src/cgeo/geocaching/LogEntry.java
index ca4a3d1..b4b346c 100644
--- a/main/src/cgeo/geocaching/LogEntry.java
+++ b/main/src/cgeo/geocaching/LogEntry.java
@@ -68,7 +68,7 @@ public final class LogEntry {
public void addLogImage(final Image image) {
if (logImages == null) {
- logImages = new ArrayList<Image>();
+ logImages = new ArrayList<>();
}
logImages.add(image);
}
@@ -88,7 +88,7 @@ public final class LogEntry {
}
public CharSequence getImageTitles() {
- final List<String> titles = new ArrayList<String>(5);
+ final List<String> titles = new ArrayList<>(5);
for (Image image : getLogImages()) {
if (StringUtils.isNotBlank(image.getTitle())) {
titles.add(HtmlUtils.extractText(image.getTitle()));