Github user dawidwys commented on a diff in the pull request:
https://github.com/apache/flink/pull/4563#discussion_r134157868
--- Diff:
flink-libraries/flink-cep-scala/src/main/scala/org/apache/flink/cep/scala/pattern/Pattern.scala
---
@@ -329,7 +332,7 @@ class Pattern[T , F <: T](jPattern: JPattern[T, F]) {
* @return The same pattern as optional.
* @throws MalformedPatternException if the quantifier is not
applicable to this pattern.
*/
- def optional: Pattern[T, F] = {
+ def optional = {
--- End diff --
Unrelated change
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---