From 255f5481a508ff0d5c0071fe8b9d6a6eebc0b910 Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Fri, 5 Jul 2019 07:46:01 +0200 Subject: [PATCH] [jOOQ/jOOQ#8900] Fix more Java 6 compatibility issues --- jOOQ/pom.xml | 4 ++++ jOOQ/src/main/java/org/jooq/impl/DSL.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/jOOQ/pom.xml b/jOOQ/pom.xml index d30788f467..300e82d115 100644 --- a/jOOQ/pom.xml +++ b/jOOQ/pom.xml @@ -13,6 +13,10 @@ jooq jOOQ + + 2.11.2 + + Apache License, Version 2.0 diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 02952bc9cb..e917ef0801 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -12158,7 +12158,9 @@ public class DSL { * The T-SQL CHOOSE() function. */ @Support + @SafeVarargs + public static Field choose(int index, Field... values) { return choose(val(index), values); } @@ -12175,7 +12177,9 @@ public class DSL { * The T-SQL CHOOSE() function. */ @Support + @SafeVarargs + public static Field choose(Field index, Field... values) { return new Choose(index, values); }