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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16112432#comment-16112432 ] 

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

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/4428


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