You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Tong Li (JIRA)" <ji...@apache.org> on 2015/02/16 16:58:12 UTC

[jira] [Created] (KAFKA-1959) Class CommitThread overwrite group of Thread class causing compile errors

Tong Li created KAFKA-1959:
------------------------------

             Summary: 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


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)