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

Tong Li commented on KAFKA-1959:
--------------------------------

Created reviewboard https://reviews.apache.org/r/31088/diff/
 against branch origin/trunk

> Class CommitThread overwrite group of Thread class causing compile errors
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-1959
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1959
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>         Environment: scala 2.10.4
>            Reporter: Tong Li
>              Labels: newbie
>         Attachments: KAFKA-1959.patch
>
>
> class CommitThread(id: Int, partitionCount: Int, commitIntervalMs: Long, 
> zkClient: ZkClient)
>         extends ShutdownableThread("commit-thread")
>         with KafkaMetricsGroup {
>     private val group = "group-" + id
> group overwrite class Thread group member, causing the following compile 
> error:
> overriding variable group in class Thread of type ThreadGroup;  value group 
> has weaker access privileges; it should not be private



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to