-
Notifications
You must be signed in to change notification settings - Fork 30
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
Address a number of sonarqube java issues #1181
Conversation
Fixed issues: - Remove this use of "put"; it is deprecated. - Remove this unnecessary cast to "Map". - Rename field "TYPE" to prevent any misunderstanding/clash with field "type" defined in superclass "org.opensearch.migrations.bulkload.models.MigrationItem". - Reorder the modifiers to comply with the Java Language Specification. - Change the visibility of this constructor to "protected". - Replace this lambda with method reference '*Template.class::isInstance'. - Replace this lambda with method reference '*Template.class::cast'. - Remove this unused method parameter "templateType". - Remove the parentheses around the "kvp" parameter Exclusions for false positives: - Set the credentials provider explicitly on this builder - Set the region explicitly on this builder Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Moving to draft while attempting to root cause a memory leak - https://opensearch.atlassian.net/browse/MIGRATIONS-2250 |
Signed-off-by: Peter Nied <[email protected]>
This reverts commit 8ca94d5. Signed-off-by: Peter Nied <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1181 +/- ##
============================================
+ Coverage 80.61% 80.63% +0.02%
+ Complexity 3080 3075 -5
============================================
Files 421 421
Lines 15598 15609 +11
Branches 1053 1053
============================================
+ Hits 12575 12587 +12
+ Misses 2380 2379 -1
Partials 643 643
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you going to lower the baseline now?
Description
Fixed issues:
Exclusions for false positives:
Issues Resolved
Fix Java SonarQube issues
https://opensearch.atlassian.net/browse/MIGRATIONS-2248Note; I've not worked on any issues that are part of the critical paths for transformations or sub-shard processing.
From
To
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.