Use the identity loader for loading identities.
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / L10nFilter.java
index 7fffd5c..08fe280 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - L10nFilter.java - Copyright © 2010–2012 David Roden
+ * Sone - L10nFilter.java - Copyright © 2010–2013 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
@@ -48,9 +48,6 @@ public class L10nFilter implements Filter {
                this.webInterface = webInterface;
        }
 
-       /**
-        * {@inheritDoc}
-        */
        @Override
        public String format(TemplateContext templateContext, Object data, Map<String, Object> parameters) {
                if (parameters.isEmpty()) {
@@ -65,4 +62,5 @@ public class L10nFilter implements Filter {
                }
                return new MessageFormat(webInterface.getL10n().getString(String.valueOf(data)), new Locale(webInterface.getL10n().getSelectedLanguage().shortCode)).format(parameterValues.toArray());
        }
+
 }