Skip to content

Commit

Permalink
[#4658] Let DSL.zero(), one(), two() return Param instead of Field
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaseder committed Oct 17, 2015
1 parent a67d22e commit c421781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jOOQ/src/main/java/org/jooq/impl/DSL.java
Expand Up @@ -14251,7 +14251,7 @@ protected static <T> DataType<T> nullSafeDataType(Field<T> field) {
* @return A <code>0</code> literal as a <code>Field</code> * @return A <code>0</code> literal as a <code>Field</code>
*/ */
@Support @Support
public static Field<Integer> zero() { public static Param<Integer> zero() {
return inline(0); return inline(0);
} }


Expand All @@ -14266,7 +14266,7 @@ public static Field<Integer> zero() {
* @return A <code>1</code> literal as a <code>Field</code> * @return A <code>1</code> literal as a <code>Field</code>
*/ */
@Support @Support
public static Field<Integer> one() { public static Param<Integer> one() {
return inline(1); return inline(1);
} }


Expand All @@ -14279,7 +14279,7 @@ public static Field<Integer> one() {
* @return A <code>2</code> literal as a <code>Field</code> * @return A <code>2</code> literal as a <code>Field</code>
*/ */
@Support @Support
public static Field<Integer> two() { public static Param<Integer> two() {
return inline(2); return inline(2);
} }


Expand Down

0 comments on commit c421781

Please sign in to comment.