[ 
https://issues.apache.org/jira/browse/FLINK-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006616#comment-16006616
 ] 

ASF GitHub Bot commented on FLINK-6536:
---------------------------------------

Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3872#discussion_r116017704
  
    --- Diff: 
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/SharedBuffer.java
 ---
    @@ -96,10 +96,11 @@ public void put(
     
                // sanity check whether we've found the previous element
                if (previousSharedBufferEntry == null && previousValue != null) 
{
    -                   throw new IllegalStateException("Could not find 
previous shared buffer entry with " +
    +                   throw new IllegalStateException("Could not find 
previous entry with " +
                                "key: " + previousKey + ", value: " + 
previousValue + " and timestamp: " +
    -                           previousTimestamp + ". This can indicate that 
the element belonging to the previous " +
    -                           "relation has been already pruned, even though 
you expect it to be still there.");
    +                           previousTimestamp + ". This can indicate that 
either you did not implement " +
    +                           "the equals() and hashCode() methods, of your 
input elements properly or that " +
    --- End diff --
    
    I think the comma is superfluous.


> Improve error message in SharedBuffer::put()
> --------------------------------------------
>
>                 Key: FLINK-6536
>                 URL: https://issues.apache.org/jira/browse/FLINK-6536
>             Project: Flink
>          Issue Type: Bug
>          Components: CEP
>    Affects Versions: 1.2.0
>            Reporter: Kostas Kloudas
>            Assignee: Kostas Kloudas
>            Priority: Minor
>             Fix For: 1.3.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to