projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete “loadAllSones” parameter.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
template
/
UnknownDateFilter.java
diff --git
a/src/main/java/net/pterodactylus/sone/template/UnknownDateFilter.java
b/src/main/java/net/pterodactylus/sone/template/UnknownDateFilter.java
index
586e90c
..
c87a97b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/template/UnknownDateFilter.java
+++ b/
src/main/java/net/pterodactylus/sone/template/UnknownDateFilter.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - UnknownDateFilter.java - Copyright © 2011 David Roden
+ * Sone - UnknownDateFilter.java - Copyright © 2011
–2012
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
*
* 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
@@
-54,7
+54,7
@@
public class UnknownDateFilter implements Filter {
* {@inheritDoc}
*/
@Override
* {@inheritDoc}
*/
@Override
- public Object format(TemplateContext templateContext, Object data, Map<String,
String
> parameters) {
+ public Object format(TemplateContext templateContext, Object data, Map<String,
Object
> parameters) {
if (data instanceof Long) {
if ((Long) data == 0) {
return l10nHandler.getString(unknownKey);
if (data instanceof Long) {
if ((Long) data == 0) {
return l10nHandler.getString(unknownKey);