Skip to content

Commit

Permalink
[#7166] Change DSL.unnest(List) and table(List) to unnest(Collection)…
Browse files Browse the repository at this point in the history
… and table(Collection)
  • Loading branch information
lukaseder committed Feb 15, 2018
1 parent af01732 commit b478e9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jOOQ/src/main/java/org/jooq/impl/DSL.java
Expand Up @@ -8400,12 +8400,12 @@ public static <R extends Record> Table<R> table(R... records) {
}

/**
* 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());
}

Expand Down Expand Up @@ -8454,7 +8454,7 @@ public static Table<?> table(Field<?> cursor) {
* <code>UNION ALL</code> connected subqueries.
*/
@Support
public static Table<?> unnest(List<?> list) {
public static Table<?> unnest(Collection<?> list) {
return unnest(list.toArray());
}

Expand Down

0 comments on commit b478e9b

Please sign in to comment.