Skip to content

Commit c64978e

Browse files
committed
Polishing.
See #1280
1 parent 5af9f56 commit c64978e

File tree

1 file changed

+1
-1
lines changed
  • spring-data-cassandra/src/main/java/org/springframework/data/cassandra/core/cql/keyspace

1 file changed

+1
-1
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/core/cql/keyspace/DefaultOption.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public DefaultOption(String name, Class<?> type, boolean requiresValue, boolean
6969
@SuppressWarnings({ "unchecked", "rawtypes" })
7070
public boolean isCoerceable(Object value) {
7171

72-
if (getType().equals(Void.class)) {
72+
if (getType().equals(Void.class) || getType().equals(String.class)) {
7373
return true;
7474
}
7575

0 commit comments

Comments
 (0)