Skip to content

Commit

Permalink
Remove unnecessary overloads for typeof function
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Jan 16, 2022
1 parent 0a13667 commit 9b94cd1
Showing 1 changed file with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,4 @@ public static Slice typeof(
{
return utf8Slice(type.getDisplayName());
}

@TypeParameter("T")
@SqlType(StandardTypes.VARCHAR)
public static Slice typeof(
@TypeParameter("T") Type type,
@SqlNullable @SqlType("T") Long value)
{
return typeof(type, (Object) value);
}

@TypeParameter("T")
@SqlType(StandardTypes.VARCHAR)
public static Slice typeof(
@TypeParameter("T") Type type,
@SqlNullable @SqlType("T") Double value)
{
return typeof(type, (Object) value);
}

@TypeParameter("T")
@SqlType(StandardTypes.VARCHAR)
public static Slice typeof(
@TypeParameter("T") Type type,
@SqlNullable @SqlType("T") Boolean value)
{
return typeof(type, (Object) value);
}
}

0 comments on commit 9b94cd1

Please sign in to comment.