Remove some unnecessary local variables.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / SoneImpl.java
index 880eb95..f57bac9 100644 (file)
@@ -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);
        }
 
        /**