[
https://issues.apache.org/jira/browse/FLINK-7306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz updated FLINK-7306:
------------------------------------
Description:
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}
was: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.
> 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)