* Remove unused member which was also causing a false positive sonar issue.
Fixes sonar issue https://sonarcloud.io/project/issues?open=AY3gHwu5DIZTZkppqVEG&id=iluwatar_java-design-patterns
* 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.
* checkstyle fix
* Add sneaky throws to fix sonar lint issue. This is fine as the newFile method is not being tested but instead the new SimpleFileWriter(...) is.
* The first booking needs to happen outside the assertions. Fixed other warnings
* Use records to pass around related objects instead of using a large number of
individual params, which sonar did not like.
* Checkstyle fixes
* checkstyle fixes
* Remove complexity to keep sonar happy.
* Split into different methods to reduce complexity. Could be broken down even further but currently Sonar is happy.
* Move files to correct package
* Add valid assertions to tests
* rename constants to avoid confusion
* Sonar warning related to cognitive complexity can be suppressed as the methods are quite generic and not functional enough to be separated out.
* Use constants to keep Sonar happy
* Use correct constant naming conventions
* Use correct constant naming conventions
* Use lombok to define noargsconstructor
* Use a single method to do the logging
* Remove unused constructor and redundant method
* Use a reusable method for logging
* chore : upgrade the jackson-databind to latest version(2.17.0)
* refactor: refactor Composite View
* refactor: remove unnecessary chnges related to this PR(#2853)
* fix: checkstyle error in AppServlet.java
* #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve checkstyle issues
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* add refactored file with correct filename to resolve checkstyle issue
* add the test data
* change filenames from JFrame to Jframe for checkstyle
* fix code smell from sonar report
* add new testcases to improve the test coverage
* remove code smell
* refactor: move tests of leader-followers into correct package
* dep: remove version constraint for Mockito in acyclic-visitor
* dep: remove version constraint for Mockito in caching
* chore: cleanup mockito-core import on some POMs
* dep: upgrade core.mocktio 3.5.6 to 4.5.1
"- org.mockito.Mockito#verifyZeroInteractions an alias of verifyNoMoreInteractions"
https://github.com/mockito/mockito/commit/caf35b24e2764df0498469526ecb3e7ec68a0430
* Changed database implementation. Removed static objects.
* Fix Logs
* Fix 40 errors from checkstyle plugin run. 139 left))
* Fix CacheStore errors from checkstyle plugin 107 left
* Fix last errors in checkstyle.
* Fix sonar issues
* Fix issues in VALIDATE phase
* Fix Bug with mongo connection. Used "Try with resources"
* Add test
* Added docker-compose for mongo db. MongoDb db work fixed.
* Provided missing tests
* Comments to start Application with mongo.
* Fix some broken links
* Remove extra space
* Update filename
* Fix some links in localization folders
* Fix link
* Update frontmatters
* Work on patterns index page
* Work on index page
* Fixes according PR comments. Mainly Readme edits.
* fix frontmatter
* add missing png
* Update pattern index.md
* Add index.md for Chinese translation
* update image paths
* update circuit breaker image paths
* Update image paths for localizations
* add generated puml
* Add missing image
* Update img file extensions
* Update the rest of the EN and ZH patterns to conform with the new website
Co-authored-by: Victor Zalevskii <zvictormail@gmail.com>
* initial commit, created package, README, pom, and directory structure.
* Issue#1264, continue working on JavaBeans, added getters, setters, and private fields. Created test file for JavaBeans.
* set up junit for tests folder.
* Issue#1264, set up local server and added web-application framework to composite-view to allow the JSP to run on a local Tomcat container. Wrote unit tests for Java-bean class, working on JSP pages.
* Issue#1264, Added forwarding functionality to servlet and main composite view page.
* Issue#1264, Finished composite view template in newsDisplay.jsp and created atomic sub-view components in businessNews.jsp, header.jsp, localNews.jsp, scienceNews.jsp, sportsNews.jsp, worldNews.jsp. Composite view page renders correctly, atomic views are inserted in and substituted in the template page depending on request parameters.
* Issue#1264, Added all views, updated README.md with documentation.
* Issue#1264, updated README.md, moved images folder into etc folder.
* Issue#1264, removed build artifacts from tracked files.
* Issue#1264, updated README.md
* Issue#1264, updated README.md
* Issue#1264, removed unused import, made AppServlet class final, changed to .equals() for string comparison.
* Issue#1264, in AppServlet, put the output writing into try blocks to ensure writers are closed.
* Issue#1264, added tests for Servlet, coverage up to 100%, used lombok to reduce boilerplate setters and getter, updated README.md with better grammar, appropriate tags and links to related patterns. Updated pom.xml to get rid of superfluous lines.
* Issue#1264, made changes as requested in README.md.
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>