Myasuka commented on a change in pull request #9255: [FLINK-13034] Introduce 
isEmpty method for MapState
URL: https://github.com/apache/flink/pull/9255#discussion_r326908826
 
 

 ##########
 File path: 
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/utils/TestSharedBuffer.java
 ##########
 @@ -219,6 +219,15 @@ public boolean contains(UK key) throws Exception {
                                        return new 
CountingIterator<>(values.entrySet().iterator());
                                }
 
+                               @Override
+                               public boolean isEmpty() throws Exception {
+                                       if (values == null) {
+                                               return false;
 
 Review comment:
   good catch, this place should be `true`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to