Skip to content

Commit e21225d

Browse files
Add necessary char[] cast
1 parent ee31656 commit e21225d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javawebstack/orm/mapper/DefaultMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Object mapToSQL(Object source, Class<?> type) {
3232
if (type.equals(float.class))
3333
return Float.valueOf((float) source);
3434
if (type.equals(char[].class))
35-
return String.valueOf(source);
35+
return String.valueOf((char[]) source);
3636
if (type.equals(UUID.class))
3737
return source.toString();
3838
if (type.equals(Timestamp.class))

0 commit comments

Comments
 (0)