flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dianfu <...@git.apache.org>
Subject [GitHub] flink pull request #4195: [FLINK-7008] [cep] Update NFA state only when the ...
Date Wed, 28 Jun 2017 10:57:11 GMT
Github user dianfu commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4195#discussion_r124510810
  
    --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/ComputationState.java
---
    @@ -114,6 +115,28 @@ public DeweyNumber getVersion() {
     		return version;
     	}
     
    +	@Override
    +	public boolean equals(Object obj) {
    +		if (obj instanceof ComputationState) {
    +			ComputationState other = (ComputationState) obj;
    +			return Objects.equals(state, other.state) &&
    +				event == other.event &&
    --- End diff --
    
    Make sense.


---
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