Skip to content

Commit fc4f92e

Browse files
committed
Fix typo
1 parent c255915 commit fc4f92e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/seasar/doma/jdbc/type/IntegerAdaptiveBooleanType.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public IntegerAdaptiveBooleanType() {
3737
protected Boolean doGetValue(ResultSet resultSet, int index)
3838
throws SQLException {
3939
int value = resultSet.getInt(index);
40-
return formIntToBoolean(value);
40+
return fromIntToBoolean(value);
4141
}
4242

4343
@Override
@@ -51,7 +51,7 @@ protected void doSetValue(PreparedStatement preparedStatement, int index,
5151
protected Boolean doGetValue(CallableStatement callableStatement, int index)
5252
throws SQLException {
5353
int value = callableStatement.getInt(index);
54-
return formIntToBoolean(value);
54+
return fromIntToBoolean(value);
5555
}
5656

5757
@Override
@@ -64,7 +64,7 @@ protected int fromBooleanToInt(Boolean value) {
6464
return value ? 1 : 0;
6565
}
6666

67-
protected Boolean formIntToBoolean(int value) {
67+
protected Boolean fromIntToBoolean(int value) {
6868
return value == 1;
6969
}
7070
}

0 commit comments

Comments
 (0)