You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2017/08/03 08:59:00 UTC

[jira] [Resolved] (FLINK-7306) function notFollowedBy in CEP dont return a Pattern object

     [ https://issues.apache.org/jira/browse/FLINK-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Wysakowicz resolved FLINK-7306.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> function notFollowedBy in CEP  dont  return  a  Pattern  object
> ---------------------------------------------------------------
>
>                 Key: FLINK-7306
>                 URL: https://issues.apache.org/jira/browse/FLINK-7306
>             Project: Flink
>          Issue Type: Bug
>          Components: CEP
>    Affects Versions: 1.3.1
>            Reporter: Hanmiao Li
>            Assignee: Dawid Wysakowicz
>             Fix For: 1.4.0
>
>
> i want to use CEP library  to do something with scala.  when use  notFollowedBy function,  it seems not like  other functions  like  next() and followedBy()  which return a Pattern object,  it return nothing. i assumes it is a bug.
> in the source code ,the function in scala is below :
> {code}
> def notFollowedBy(name : String) {
>     Pattern[T, T](jPattern.notFollowedBy(name))
>   }
> {code}
> i think it should be :
> {code}
> def notFollowedBy(name : String) :Pattern[T, T]={
>     Pattern[T, T](jPattern.notFollowedBy(name))
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)