[#7166] Change DSL.unnest(List) and table(List) to unnest(Collection) and table(Collection)

This commit is contained in:
lukaseder 2018-02-15 11:10:52 +01:00
parent af017324b8
commit b478e9ba6a

View File

@ -8400,12 +8400,12 @@ public class DSL {
}
/**
* A synonym for {@link #unnest(List)}.
* A synonym for {@link #unnest(Collection)}.
*
* @see #unnest(List)
* @see #unnest(Collection)
*/
@Support
public static Table<?> table(List<?> list) {
public static Table<?> table(Collection<?> list) {
return table(list.toArray());
}
@ -8454,7 +8454,7 @@ public class DSL {
* <code>UNION ALL</code> connected subqueries.
*/
@Support
public static Table<?> unnest(List<?> list) {
public static Table<?> unnest(Collection<?> list) {
return unnest(list.toArray());
}