projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimize some imports
[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
4705e6f
..
5ec2cd9
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
+++ b/
src/main/java/net/pterodactylus/sone/template/UniqueElementFilter.java
@@
-38,7
+38,7
@@
public class UniqueElementFilter implements Filter {
if (!(data instanceof Collection<?>)) {
return data;
}
if (!(data instanceof Collection<?>)) {
return data;
}
- return new HashSet<
Object
>((Collection<?>) data);
+ return new HashSet<>((Collection<?>) data);
}
}
}
}