You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/14 17:05:00 UTC

[jira] [Commented] (KAFKA-5127) Replace pattern matching with foreach where the case None is unused

    [ https://issues.apache.org/jira/browse/KAFKA-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087592#comment-16087592 ] 

ASF GitHub Bot commented on KAFKA-5127:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2919


> Replace pattern matching with foreach where the case None is unused 
> --------------------------------------------------------------------
>
>                 Key: KAFKA-5127
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5127
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Balint Molnar
>            Assignee: Balint Molnar
>            Priority: Minor
>             Fix For: 0.11.1.0
>
>
> There are various place where pattern matching is used with matching only for one thing and ignoring the None type, this can be replaced with foreach.



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