Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make multiple scopes work. #16

Merged
merged 7 commits into from
Sep 10, 2024
Merged

Conversation

levinkerschberger
Copy link
Member

ConfigurationResolver had only access to the first scope with the same fqn (See: InstrumentationConfiguration.java).
Thus only one scope works, if there are multiple with the same fqn.

Now all Scopes, where the fqn is included are returned to ConfigurationResolver.

Have to flatten the MethodNames of the Scope-List now before I pass them into the MethodMatcher.

Dont like ConfigurationResolver.java:94: ElementMatchers.namedOneOf(methodNames.toArray(String[]::new));
Is there any prettier syntax to convert that list to a stinknormal array?

Copy link
Member

@EddeCCC EddeCCC left a comment

Choose a reason for hiding this comment

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

Can you apply spotless one more time?

Copy link

sonarcloud bot commented Sep 10, 2024

@levinkerschberger levinkerschberger merged commit b0f1722 into master Sep 10, 2024
3 checks passed
@EddeCCC EddeCCC deleted the feature/vhvapm-403 branch September 11, 2024 10:18
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.

2 participants