squid:S1488 - Local Variables should not be declared and then immediately returned or thrown

This commit is contained in:
Mohammed Ezzat committed 2016-01-27 02:45:39 +02:00
1 parent 1a55f3a420
commit 4e40cc3888
4 files changed
+5 -11

No files matched your search

@@ -204,8 +204,7 @@ public class LazyFluentIterable<TYPE> implements FluentIterable<TYPE> {
*/
@Override
public List<TYPE> asList() {
List<TYPE> copy = FluentIterable.copyToList(iterable);
return copy;
return FluentIterable.copyToList(iterable);
}
@Override