xintongsong commented on code in PR #23058:
URL: https://github.com/apache/flink/pull/23058#discussion_r1321401189


##########
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/pattern/conditions/RichIterativeCondition.java:
##########
@@ -67,7 +67,13 @@ public IterationRuntimeContext getIterationRuntimeContext() {
     // 
--------------------------------------------------------------------------------------------
 
     @Override
-    public void open(Configuration parameters) throws Exception {}
+    public void open(OpenContext openContext) throws Exception {}
+
+    @Override
+    public void open(Configuration parameters) throws Exception {
+        throw new UnsupportedOperationException(
+                "This method is deprecated and shouldn't be invoked. Please 
use getDefaultTrigger() instead.");

Review Comment:
   ```suggestion
       public void open(Configuration parameters) throws Exception {
           throw new UnsupportedOperationException(
                   "This method is deprecated and shouldn't be invoked. Please 
use open(OpenContext) instead.");
   ```



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to