[ https://issues.apache.org/jira/browse/FLINK-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107225#comment-16107225 ]
Dawid Wysakowicz edited comment on FLINK-7306 at 7/31/17 12:18 PM: ------------------------------------------------------------------- You are absolutely right. I've already opened a PR for that. For the time being you may use the java API. was (Author: dawidwys): You are absolutely right. I've already opened a PR for that. > 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)