diff --git a/jOOQ/src/main/java/org/jooq/impl/FieldTypeHelper.java b/jOOQ/src/main/java/org/jooq/impl/FieldTypeHelper.java index 6280d8e81f..c68926ddd9 100644 --- a/jOOQ/src/main/java/org/jooq/impl/FieldTypeHelper.java +++ b/jOOQ/src/main/java/org/jooq/impl/FieldTypeHelper.java @@ -85,17 +85,15 @@ import org.jooq.util.postgres.PostgresUtils; /** * Utility methods related to the treatment of fields and their types - *

- * This class is for JOOQ INTERNAL USE only. Do not reference directly * * @author Lukas Eder */ -public final class FieldTypeHelper { +final class FieldTypeHelper { - private static final JooqLogger log = JooqLogger.getLogger(FieldTypeHelper.class); + private static final JooqLogger log = JooqLogger.getLogger(FieldTypeHelper.class); @SuppressWarnings("unchecked") - public static T getFromSQLInput(Configuration configuration, SQLInput stream, Field field) throws SQLException { + static T getFromSQLInput(Configuration configuration, SQLInput stream, Field field) throws SQLException { Class type = field.getType(); DataType dataType = field.getDataType(); @@ -206,7 +204,7 @@ public final class FieldTypeHelper { } } - public static void writeToSQLOutput(SQLOutput stream, Field field, T value) throws SQLException { + static void writeToSQLOutput(SQLOutput stream, Field field, T value) throws SQLException { writeToSQLOutput(stream, field.getType(), field.getDataType(), value); } @@ -647,7 +645,7 @@ public final class FieldTypeHelper { } @SuppressWarnings("unchecked") - public static T getFromStatement(ExecuteContext ctx, Class type, int index) throws SQLException { + static T getFromStatement(ExecuteContext ctx, Class type, int index) throws SQLException { CallableStatement stmt = (CallableStatement) ctx.statement(); if (type == Blob.class) { @@ -763,7 +761,7 @@ public final class FieldTypeHelper { } } - + // ------------------------------------------------------------------------- // The following section has been added for Postgres UDT support. The