Skip to content

Commit 53668b5

Browse files
MatejNedicmp911de
authored andcommitted
Remove duplicate Assert.
Closes #1187
1 parent 7f7ed92 commit 53668b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/core/StatementFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ StatementBuilder<RegularInsert> insert(Object objectToInsert, WriteOptions optio
294294
Assert.notNull(tableName, "TableName must not be null");
295295
Assert.notNull(objectToInsert, "Object to insert must not be null");
296296
Assert.notNull(persistentEntity, "CassandraPersistentEntity must not be null");
297-
Assert.notNull(tableName, "Table name must not be null");
298297

299298
boolean insertNulls;
300299
if (options instanceof InsertOptions) {

0 commit comments

Comments
 (0)