mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 14:58:39 +00:00
squid:S1488 - Local Variables should not be declared and then immediately returned or thrown
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user