Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 25, 2025

Updates the jfr-events module to comply with the project's style guide recommendations while maintaining full functionality.

Changes Made

Static Import Fix:

  • Changed import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; to import static org.assertj.core.api.Assertions.assertThat; in the test file to follow the style guide's recommended static import patterns for test methods.

Test Method Visibility:

  • Removed public modifier from test methods basicSpan() and basicSpanWithScope() to make them package-protected, following the style guide convention that test methods should generally be package-protected rather than public.

Verification

  • All existing tests continue to pass
  • Code formatting verified with spotlessCheck
  • No functional changes - purely style compliance improvements

The module now fully complies with the style guide requirements while maintaining its existing behavior and test coverage.

Fixes #389.


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