zstan commented on a change in pull request #604:
URL: https://github.com/apache/ignite-3/pull/604#discussion_r795620126
##########
File path:
modules/client-common/src/main/java/org/apache/ignite/client/proto/query/event/BatchExecuteRequest.java
##########
@@ -51,8 +51,7 @@ public BatchExecuteRequest() {
* @param autoCommit Client auto commit flag state.
*/
public BatchExecuteRequest(String schemaName, List<Query> queries, boolean
autoCommit) {
-
- assert queries != null || !queries.isEmpty();
+ assert queries != null && !queries.isEmpty();
Review comment:
```suggestion
assert !CollectionUtils.nullOrEmpty(queries);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]