Skip to content

JACOCO-95 Fix warning log for multi-value property#166

Merged
leonardo-pilastri-sonarsource merged 2 commits intomasterfrom
lp/fix-warning-log
Feb 17, 2026
Merged

JACOCO-95 Fix warning log for multi-value property#166
leonardo-pilastri-sonarsource merged 2 commits intomasterfrom
lp/fix-warning-log

Conversation

@leonardo-pilastri-sonarsource
Copy link
Contributor

Part of

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Fix warning log for multi-value property JACOCO-95 Fix warning log for multi-value property Feb 17, 2026
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Feb 17, 2026

JACOCO-95

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM 👍🏿 If we have a chance to rename the variable in the test, I think it would help track down all of the places where we have the singular version of the parameter in the project

@@ -59,7 +60,7 @@ void should_add_sensors_and_property_definitions() {
PropertyDefinition aggregateReportPath = (PropertyDefinition) arg.getAllValues().get(4);

Choose a reason for hiding this comment

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

Let's rename the variable to remove the singular-plural confusion

Suggested change
PropertyDefinition aggregateReportPath = (PropertyDefinition) arg.getAllValues().get(4);
PropertyDefinition aggregateReportPaths = (PropertyDefinition) arg.getAllValues().get(4);

@sonarqube-next
Copy link

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource merged commit 0f5bd3c into master Feb 17, 2026
7 checks passed
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource deleted the lp/fix-warning-log branch February 17, 2026 13:52
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