-
Notifications
You must be signed in to change notification settings - Fork 73
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
Changed forbiddenAPIsTest files and made relevant forbidden fixes #450
Conversation
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.
LGTM. Thanks for improving the code style
…ing.format calls Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
78e5119
to
10b812d
Compare
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #450 +/- ##
============================================
- Coverage 78.18% 78.17% -0.02%
Complexity 4162 4162
============================================
Files 296 296
Lines 17659 17659
Branches 1879 1879
============================================
- Hits 13807 13805 -2
- Misses 2958 2960 +2
Partials 894 894
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky [email protected]
Description
forbiddenAPIsTest
printStackTrace
calls with more specificlogger.error()
Locale.ROOT
too a lot of string.format() calls.Charset.defaultCharset()
to calls to read files in testingignoreFailures = true
for forbiddenAPIsTest, this is pretty much the most long lasting change as build will now fail if we add new code that withformat
not usingLocale
instead of stacking up a list of hundreds of warning over time (this can be changed back so only warnings are shown and not failures if it proves to be too constrictive.)Issues Resolved
resolves #422
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.