Skip to content

Conversation

Copy link

Copilot AI commented Aug 24, 2025

Updating jmx-metrics module to follow style guide. Making minimal changes to address style guide violations:

  • Remove final from method parameters across all Java files (style guide requirement)
  • Add final modifier to public classes (InstrumentDescriptor, GroovyRunner, JmxClient, ConfigurationException)
  • Add static imports for commonly used utility methods to reduce verbosity
  • Convert anonymous classes to lambdas where appropriate
  • Run tests to ensure no functionality is broken
  • Run spotlessApply to ensure proper formatting

Fixes #262.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
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.

Update jmx-metrics module to follow style guide

2 participants