-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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 sonar issues #2925
Fix sonar issues #2925
Conversation
99628f1
to
c49a18b
Compare
@iluwatar Hi, would be keen to get some feedback on this whenever you get some time. Thank you :) |
…CiGJS70dLki&id=iluwatar_java-design-patterns related to "Refactor the code of the lambda to not have multiple invocations throwing the same checked exception." Also, updated the code to use Instant and Duration to deal with time instead of int. Added the awaitility library to perform assertions in test which is more reliable than using Thread.sleep directly to wait for events to happen.
…e method is not being tested but instead the new SimpleFileWriter(...) is.
…umber of individual params, which sonar did not like.
…wn even further but currently Sonar is happy.
…e methods are quite generic and not functional enough to be separated out.
Quality Gate failedFailed conditions |
Looks good! Thank you for the contribution 🎉 @all-contributors please add @k1w1dev for code |
I couldn't determine any contributions to add, did you specify any contributions? @k1w1dev already contributed before to code |
What problem does this PR solve?
Fixes majority of the high severity issues raised by Sonar. There's a few more left but the changes are already big enough for a review.
Fixes #2865