projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add unit test for “set trust” job.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
SoneImpl.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/SoneImpl.java
b/src/main/java/net/pterodactylus/sone/data/SoneImpl.java
index
880eb95
..
f57bac9
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/SoneImpl.java
+++ b/
src/main/java/net/pterodactylus/sone/data/SoneImpl.java
@@
-371,8
+371,7
@@
public class SoneImpl implements Sone {
* @return The friend Sones of this Sone
*/
public List<String> getFriends() {
- List<String> friends = new ArrayList<String>(friendSones);
- return friends;
+ return new ArrayList<String>(friendSones);
}
/**