-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Commits on May 3, 2024
-
Remove unused member which was also causing a false positive sonar is…
…sue. Fixes sonar issue https://sonarcloud.io/project/issues?open=AY3gHwu5DIZTZkppqVEG&id=iluwatar_java-design-patterns
Configuration menu - View commit details
-
Copy full SHA for f362f9f - Browse repository at this point
Copy the full SHA f362f9fView commit details -
Fixes sonar issue https://sonarcloud.io/project/issues?open=AXK0OzDA-…
…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.
Configuration menu - View commit details
-
Copy full SHA for 20a53ea - Browse repository at this point
Copy the full SHA 20a53eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b19c656 - Browse repository at this point
Copy the full SHA b19c656View commit details -
Add sneaky throws to fix sonar lint issue. This is fine as the newFil…
…e method is not being tested but instead the new SimpleFileWriter(...) is.
Configuration menu - View commit details
-
Copy full SHA for 7f071f7 - Browse repository at this point
Copy the full SHA 7f071f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab47158 - Browse repository at this point
Copy the full SHA ab47158View commit details -
Use records to pass around related objects instead of using a large n…
…umber of individual params, which sonar did not like.
Configuration menu - View commit details
-
Copy full SHA for fbf5af5 - Browse repository at this point
Copy the full SHA fbf5af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8c2e61 - Browse repository at this point
Copy the full SHA f8c2e61View commit details -
Configuration menu - View commit details
-
Copy full SHA for db4ba8a - Browse repository at this point
Copy the full SHA db4ba8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e0f578 - Browse repository at this point
Copy the full SHA 2e0f578View commit details -
Split into different methods to reduce complexity. Could be broken do…
…wn even further but currently Sonar is happy.
Configuration menu - View commit details
-
Copy full SHA for 10ccc10 - Browse repository at this point
Copy the full SHA 10ccc10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61930fd - Browse repository at this point
Copy the full SHA 61930fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for aafd8ae - Browse repository at this point
Copy the full SHA aafd8aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2231ef8 - Browse repository at this point
Copy the full SHA 2231ef8View commit details -
Sonar warning related to cognitive complexity can be suppressed as th…
…e methods are quite generic and not functional enough to be separated out.
Configuration menu - View commit details
-
Copy full SHA for 64f9b6d - Browse repository at this point
Copy the full SHA 64f9b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b0e44b - Browse repository at this point
Copy the full SHA 4b0e44bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a6314 - Browse repository at this point
Copy the full SHA d6a6314View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8d39ff - Browse repository at this point
Copy the full SHA d8d39ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for b045d53 - Browse repository at this point
Copy the full SHA b045d53View commit details -
Configuration menu - View commit details
-
Copy full SHA for a270520 - Browse repository at this point
Copy the full SHA a270520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04090db - Browse repository at this point
Copy the full SHA 04090dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for db8f8e8 - Browse repository at this point
Copy the full SHA db8f8e8View commit details