projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Gradle build file
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
template
/
UniqueElementFilter.java
diff --git
a/src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
b/src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
index
45c1cb8
..
2ca695b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
+++ b/
src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - UniqueElementFilter.java - Copyright © 2011–201
2
David Roden
+ * Sone - UniqueElementFilter.java - Copyright © 2011–201
6
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
@@
-36,7
+36,7
@@
public class UniqueElementFilter 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 Collection<?>)) {
return data;
}
if (!(data instanceof Collection<?>)) {
return data;
}