Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/5414#discussion_r166018025
--- Diff:
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/SharedBuffer.java
---
@@ -578,14 +555,8 @@ private void removeEdges(final
List<SharedBufferEntry<K, V>> prunedEntries) {
}
}
- public boolean remove() {
- if (page != null) {
- page.remove(valueTime);
-
- return true;
- } else {
- return false;
- }
+ public void remove() {
+ page.remove(valueTime);
--- End diff --
Did we never need the check before?
---