Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 25, 2025

Made minimal changes to ensure the noop-api module follows the OpenTelemetry Java style guide. According to the style guide, "Public non-internal classes should be declared final where possible."

Changes:

  • Added final keyword to NoopOpenTelemetry class
  • Added final keyword to NoopContextStorageProvider class

Both classes are public, non-internal classes that implement interfaces and don't need to be subclassed, making them ideal candidates for the final modifier. This change improves code clarity by explicitly indicating these classes are not intended for inheritance.

All existing tests continue to pass and code formatting remains compliant.

Fixes #401.


💡 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.

@Copilot Copilot AI changed the title [WIP] Update noop-api module to follow style guide Update noop-api module to follow style guide Aug 25, 2025
@Copilot Copilot AI requested a review from trask August 25, 2025 01:42
Copilot finished work on behalf of trask August 25, 2025 01:42
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 noop-api module to follow style guide
2 participants