Skip to content

KAFKA-4774. Inner classes which don't need a reference to the outer c…#2558

Closed
cmccabe wants to merge 2 commits intoapache:trunkfrom
cmccabe:KAFKA-4774
Closed

KAFKA-4774. Inner classes which don't need a reference to the outer c…#2558
cmccabe wants to merge 2 commits intoapache:trunkfrom
cmccabe:KAFKA-4774

Conversation

@cmccabe
Copy link
Copy Markdown
Contributor

@cmccabe cmccabe commented Feb 16, 2017

…lass should be static

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/1718/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1718/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/1721/
Test PASSed (JDK 8 and Scala 2.11).

}

class Pair {
static class Pair {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems this can be private?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 17, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/1728/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 17, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/1728/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 17, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/1731/
Test FAILed (JDK 8 and Scala 2.11).

* A simple wrapper class to implement a doubly-linked list around MemoryLRUCacheBytesEntry
*/
class LRUNode {
static class LRUNode {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this one can be private too?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's used in NamedCacheTest

@asfgit asfgit closed this in 916edc3 Feb 18, 2017
hachikuji pushed a commit to confluentinc/kafka that referenced this pull request Feb 23, 2017
…lass should be static

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Jason Gustafson <jason@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes apache#2558 from cmccabe/KAFKA-4774
@cmccabe cmccabe deleted the KAFKA-4774 branch May 20, 2019 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants