[jOOQ/jOOQ#8900] Fix more Java 6 compatibility issues

This commit is contained in:
Knut Wannheden 2019-07-05 07:46:01 +02:00
parent eee38f618c
commit 255f5481a5
2 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,10 @@
<artifactId>jooq</artifactId>
<name>jOOQ</name>
<properties>
<log4j.version>2.11.2</log4j.version>
</properties>
<licenses>
<license>
<name>Apache License, Version 2.0</name>

View File

@ -12158,7 +12158,9 @@ public class DSL {
* The T-SQL <code>CHOOSE()</code> function.
*/
@Support
@SafeVarargs
public static <T> Field<T> choose(int index, Field<T>... values) {
return choose(val(index), values);
}
@ -12175,7 +12177,9 @@ public class DSL {
* The T-SQL <code>CHOOSE()</code> function.
*/
@Support
@SafeVarargs
public static <T> Field<T> choose(Field<Integer> index, Field<T>... values) {
return new Choose<T>(index, values);
}