new inference: choose most specifics between 2 varargs methods

(cherry picked from commit 9f754331ad04e4be639d94da7a659927f8384294)
This commit is contained in:
Anna Kozlova
2014-03-11 10:32:56 +01:00
parent 1ee2942d53
commit 4112118f42
3 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
import java.util.List;
abstract class StreamMain {
public abstract <T> Iterable<T> concat(final Iterable<? extends T>... iterables);
public abstract <T> Iterable<T> concat(final List<? extends T>... iterables);
public final List<String> errorFixesToShow = null;
public final List<String> inspectionFixesToShow = null;
{
concat(errorFixesToShow, inspectionFixesToShow);
}
}