From a34be0404a8e6279e91b93db4e9d2f8bc6bae6ff Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Thu, 6 Dec 2018 03:51:12 +0000 Subject: [PATCH] Exposed DatabaseType's int, float and double type string appenders to protected. --- src/main/java/com/j256/ormlite/db/BaseDatabaseType.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java b/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java index e394bf447..96a62ea56 100644 --- a/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java +++ b/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java @@ -239,7 +239,7 @@ protected void appendShortType(StringBuilder sb, FieldType fieldType, int fieldW /** * Output the SQL type for a Java integer. */ - private void appendIntegerType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendIntegerType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("INTEGER"); } @@ -253,14 +253,14 @@ protected void appendLongType(StringBuilder sb, FieldType fieldType, int fieldWi /** * Output the SQL type for a Java float. */ - private void appendFloatType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendFloatType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("FLOAT"); } /** * Output the SQL type for a Java double. */ - private void appendDoubleType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendDoubleType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("DOUBLE PRECISION"); }