Skip to content

Conversation

Jakubk15
Copy link
Member

No description provided.

@Jakubk15 Jakubk15 requested a review from a team as a code owner September 16, 2025 18:58
@Jakubk15 Jakubk15 requested a review from vLuckyyy September 16, 2025 18:58
@Jakubk15 Jakubk15 added the 💾 code-only This is just a code problem, it doesn't affect the plugin functionality itself label Sep 16, 2025
@Jakubk15 Jakubk15 changed the title Use quicker map return strategy GH-1164 Use quicker map return strategy Sep 16, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces two main changes. First, it optimizes command map retrieval in PowertoolCommandArgument by using Collections.unmodifiableMap instead of creating a new map, which is more efficient. Second, it refactors the dependency relocation caching logic in RelocationCacheResolver to use a single global cache file instead of per-dependency caches. This simplifies the implementation. While the changes are generally good, I've pointed out a couple of areas in the exception handling that could be improved for better robustness.

Copy link
Member

@CitralFlo CitralFlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's cool. If it works , it's epic!

@vLuckyyy vLuckyyy merged commit 6da81a4 into master Sep 21, 2025
2 checks passed
@vLuckyyy vLuckyyy deleted the jakubk15-quick-patch branch September 21, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💾 code-only This is just a code problem, it doesn't affect the plugin functionality itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants