Update year in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / L10nFilter.java
index 7ca9a5c..ef6ef98 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - L10nFilter.java - Copyright © 2010–2016 David Roden
+ * Sone - L10nFilter.java - Copyright © 2010–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,8 +32,6 @@ import net.pterodactylus.util.template.TemplateContext;
 /**
  * {@link Filter} implementation replaces {@link String} values with their
  * translated equivalents.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class L10nFilter implements Filter {
 
@@ -73,7 +71,7 @@ public class L10nFilter implements Filter {
                if (data instanceof L10nText) {
                        return ((L10nText) data).getParameters();
                }
-               List<Object> parameterValues = new ArrayList<Object>();
+               List<Object> parameterValues = new ArrayList<>();
                int parameterIndex = 0;
                while (parameters.containsKey(String.valueOf(parameterIndex))) {
                        Object value = parameters.get(String.valueOf(parameterIndex));