Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

[WIP] Address feedback on code cleanup for 1.2.4 release#8

Closed
Copilot wants to merge 1 commit intorefactor/code-cleanup-1.2.4from
copilot/sub-pr-5-another-one
Closed

[WIP] Address feedback on code cleanup for 1.2.4 release#8
Copilot wants to merge 1 commit intorefactor/code-cleanup-1.2.4from
copilot/sub-pr-5-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 4, 2026

  • Analyze the issue: Mappings.java claims immutability but add(Mapping) mutates internal ArrayList
  • Fix add(Mapping mapping) to create a new Mappings instance instead of mutating this
  • Fix Javadoc on add methods that incorrectly say "Returns this instance" → "Returns a new instance"
  • Update/remove the @SuppressWarnings comment which contradicts the immutability claim
  • Build and verify
  • Code review and security scan

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

@leycm leycm closed this Mar 4, 2026
Copilot stopped work on behalf of leycm due to an error March 4, 2026 15:12
@leycm leycm deleted the copilot/sub-pr-5-another-one branch March 4, 2026 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants