Skip to content

Commit

Permalink
Exposed DatabaseType's int, float and double type string appenders to…
Browse files Browse the repository at this point in the history
… protected.
  • Loading branch information
Bo98 committed Dec 6, 2018
1 parent d1ea306 commit a34be04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/j256/ormlite/db/BaseDatabaseType.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand All @@ -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");
}

Expand Down

0 comments on commit a34be04

Please sign in to comment.