Balzanka / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

FluentIterable.transformAndConcat should have a more generic signature #1353

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The signature should be more generic so it can handle generic upcasting.

public <T> FluentIterable<T> transformAndConcat(Function<? super E, ? extends 
Iterable<? extends T>> function) 

Original issue reported on code.google.com by jamesst...@gmail.com on 26 Mar 2013 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by kak@google.com on 26 Mar 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Are you looking at an old version? Your suggestion matches what I'm seeing in 
release 14:

public <T> FluentIterable<T> transformAndConcat(Function<? super E,? extends 
Iterable<? extends T>> function)

http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/com/googl
e/common/collect/FluentIterable.html#transformAndConcat%28com.google.common.base
.Function%29

Original comment by cpov...@google.com on 26 Mar 2013 at 8:02

GoogleCodeExporter commented 9 years ago
IIRC, this change was one of the few things that was supposed to be in 14.0 but 
is actually only in 14.0.1.

Original comment by cgdec...@gmail.com on 26 Mar 2013 at 9:24

GoogleCodeExporter commented 9 years ago
Thank you, I bumped up to 14.0.1

Original comment by jamesst...@gmail.com on 26 Mar 2013 at 11:42

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08