Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 25, 2025

This PR updates the gcp-resources module to comply with the OpenTelemetry Java style guide requirements while making minimal changes to the codebase.

Changes Made

GCPResourceProvider.java

  • Added final keyword to the public non-internal class as required by the style guide
  • Improved class organization with proper spacing between static and instance fields

IncubatingAttributes.java

  • Moved private constructors to the end of utility classes following the style guide convention
  • Applied the same pattern to the nested CloudPlatformIncubatingValues class for consistency

What Was Not Changed

Per the issue requirements:

  • @Nullable annotation usage was ignored as instructed
  • No new comments were added
  • No @AutoService annotation was added since the service is already manually registered via META-INF/services

All tests continue to pass and functionality remains unchanged. The changes are surgical and focused solely on style guide compliance.

Fixes #381.


💡 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 gcp-resources module to follow style guide Update gcp-resources module to follow style guide Aug 25, 2025
@Copilot Copilot AI requested a review from trask August 25, 2025 01:14
Copilot finished work on behalf of trask August 25, 2025 01:14
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 gcp-resources module to follow style guide
2 participants