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

SonarQube 10.6 emits a warning about using getStringArray to read file suffixes #35

Open
testworksau opened this issue Aug 1, 2024 · 1 comment

Comments

@testworksau
Copy link

testworksau commented Aug 1, 2024

We are seeing this message in our scans since upgrading to SonarQube 10.6:

WARN: Property 'sonar.ps.file.suffixes' is not declared as multi-values/property set 
but was read using 'getStringArray' method. The SonarQube plugin declaring this 
property should be updated.

It looks like this is the line that triggers the warning:

final String[] suffixes = this.settings.getStringArray(Constants.FILE_SUFFIXES);

We are not sure if 10.6 introduced the problem; it could just be a coincidence that we noticed it after our upgrade.

This PR should fix the problem:
#33

@testworksau
Copy link
Author

@gretard is there anything further that we can do to help get a release of this please? 🙏🏼

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

No branches or pull requests

1 participant