projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Guava’s predicate instead of utils’ filter.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
template
/
AlbumAccessor.java
diff --git
a/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java
b/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java
index
2c0a00e
..
e22e00b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java
+++ b/
src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - AlbumAccessor.java - Copyright © 2011 David Roden
+ * Sone - AlbumAccessor.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
@@
-68,7
+68,7
@@
public class AlbumAccessor extends ReflectionAccessor {
* The name of the link
* @return The created map containing the mappings
*/
* The name of the link
* @return The created map containing the mappings
*/
- private Map<String, String> createLink(String target, String name) {
+ private
static
Map<String, String> createLink(String target, String name) {
Map<String, String> link = new HashMap<String, String>();
link.put("target", target);
link.put("name", name);
Map<String, String> link = new HashMap<String, String>();
link.put("target", target);
link.put("name", name);