Skip to content

MINOR: Fixed 3 inner classes without instance reference to be static#2574

Closed
original-brownbear wants to merge 1 commit intoapache:trunkfrom
original-brownbear:cleanup-inner-nonstatic
Closed

MINOR: Fixed 3 inner classes without instance reference to be static#2574
original-brownbear wants to merge 1 commit intoapache:trunkfrom
original-brownbear:cleanup-inner-nonstatic

Conversation

@original-brownbear
Copy link
Copy Markdown
Member

  • Turned 3 inner classes that weren't static but could be into static ones.
  • Turned one public inner class that wasn't used publicly into a private.

Trivial but imo worthwhile to explicitly keep visibility and "staticness" correct in syntax (if only to be nice to the GC) :)

@original-brownbear
Copy link
Copy Markdown
Member Author

@hachikuji @ijuma ping :)

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 19, 2017

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

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 19, 2017

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

@asfbot
Copy link
Copy Markdown

asfbot commented Feb 19, 2017

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

Copy link
Copy Markdown
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

LGTM

@asfgit asfgit closed this in 3db3d73 Feb 20, 2017
hachikuji pushed a commit to confluentinc/kafka that referenced this pull request Feb 23, 2017
* Turned 3 inner classes that weren't static but could be into `static` ones.
* Turned one `public` inner class that wasn't used publicly into a `private`.

Trivial but imo worthwhile to explicitly keep visibility and "staticness" correct in syntax (if only to be nice to the GC) :)

Author: Armin Braun <me@obrown.io>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Jason Gustafson <jason@confluent.io>

Closes apache#2574 from original-brownbear/cleanup-inner-nonstatic
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