flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dawidwys <...@git.apache.org>
Subject [GitHub] flink pull request #4145: [FLINK-6938][FLINK-6939] [cep] Not store Iterative...
Date Tue, 20 Jun 2017 14:19:18 GMT
Github user dawidwys commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4145#discussion_r122982790
  
    --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/StateTransition.java
---
    @@ -68,6 +72,15 @@ public StateTransitionAction getAction() {
     		return sourceState;
     	}
     
    +	public IterativeCondition<T> getCondition(ConditionRegistry conditionRegistry)
{
    +		return conditionRegistry.getCondition(this);
    +	}
    +
    +	/**
    +	 * @deprecated 	This field remains for backwards compatibility.
    +	 * Now the condition getter should use {@link #getCondition(ConditionRegistry)}.
    +	 */
    +	@Deprecated
     	public IterativeCondition<T> getCondition() {
    --- End diff --
    
    I also think we could get rid of it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message