43 Commits

Author SHA1 Message Date
Ilkka Seppälä 0ca162a55c deps: Refactor dependencies (#3224)
* remove spring dep
move junit, logging, mockito under dep mgmt

* upgrade anti-corruption-layer deps

* async method invocation

* balking, bloc

* bridge to bytecode

* caching

* callback - cqrs

* component - health check

* hexagonal - metadata mapping

* rest of the patterns

* remove checkstyle, take spotless into use
2025-03-29 19:34:27 +02:00
Robert Volkmann 9600a69b1e dependencies: make acyclic-visitor compatible with Java 11 (#2359) 2022-12-01 18:38:52 +02:00
Robert Volkmann 465a6871b2 dependencies: Upgrade mockito 3.5 to 4.5 (#2316)
* 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
2022-11-20 10:16:53 +02:00
Robert Volkmann 4cd8149502 refactor: remove code smell java:S5786 (#2159)
https://sonarcloud.io/organizations/iluwatar/rules?open=java%3AS5786&rule_key=java%3AS5786
2022-10-30 18:21:21 +02:00
kongleong86 ede83e04e9 Refactor: Fixed #1193. Remove assertj-core from acyclic-visitor to prevent inconsistent library versions (#2042)
* Fixed #1193. Remove assertj-core from acyclic-visitor to prevent inconsistent library versions

* clean up logger before each run
2022-10-08 13:54:02 +03:00
Ilkka Seppälä 932836f68b Update license plugin (#2020)
* update license plugin

* suppress linelength and emptylineseparator rules

* fix checkstyle error

Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2022-09-14 23:22:24 +05:30
HattoriHenzo da9f26bbc0 fix: Correction of the CheckStyle issue the project acyclic-visitor (#1969) 2022-04-15 20:14:12 +03:00
ShivanshCharak a4aff05123 refactoring: modified modem.java (#1952) 2022-01-30 20:57:46 +02:00
va1m 5cf2fe009b 📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code

* Fix merge conflicts and some sonar issues

Co-authored-by: va1m <va1m@email.com>
2021-03-13 14:19:21 +02:00
Subhrodip Mohanta 7891c2b117 update inception year to 2021 (#1653) 2021-02-14 11:57:57 +02:00
Toxic Dreamz 31471acb69 Fixed most reported issues by SonarCloud. 2020-08-15 21:47:39 +04:00
Ilkka Seppälä 6a8297598e #1047 remove module infos 2020-08-01 15:19:09 +03:00
Ilkka Seppälä 417f21ed3d Code cleanup (#1461)
* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
2020-07-30 20:28:47 +03:00
saksham93 f2bb46f9b4 Modularization for 2 more modules (#1177)
1. Abstract Factory
2. Acyclic Visitor
2020-02-05 07:14:27 +02:00
Anurag Agarwal f04fc3c0dc Java 11 migration: patterns starting with a (#1084)
* Moves abstract-factory pattern to java 11

* Moves abstract-document pattern to java 11

* Moves acyclic-visitor pattern to java 11

* Moves adapter pattern to java 11

* Moves aggregator-microservices pattern to java 11

* Moves api-gateway pattern to java 11
2019-11-13 18:04:51 +02:00
Anurag Agarwal 1e76d91929 Resolves checkstyle errors for abstract-document abstract-factory acyclic-visitor adapter aggregator-microservices (#1080)
* Reduces checkstyle errors in abstract-document

* Reduces checkstyle errors in abstract-factory

* Reduces checkstyle errors in acyclic-visitor

* Reduces checkstyle errors in adapter

* Reduces checkstyle errors in aggregator-microservices
2019-11-11 22:30:08 +02:00
Alexander Ivanov 4904d7eea0 #1021: Fix checkstyle warnings by changing the license header template (#1027)
* Add custom license header style in order to comply with Google's Checkstyle format

* Update license headers to comply with Google's Checkstyle format
2019-10-22 08:15:35 +03:00
Anurag870 f00ebe1a8d #984 local variable inference changes (#1025)
* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices

* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices
2019-10-20 19:01:02 +03:00
Ilkka Seppälä 9ebbc421dd Update license headers 2019-10-12 20:05:54 +03:00
dongshengchen c653edf38f fix must override a superclass method (#919)
* fix must override a superclass method

* fix must override a superclass method
2019-09-07 20:52:49 +03:00
saksham93 35dc25d480 MInor bug fix Issue #895 -> Code comment change (https://github.com/iluwatar/java-design-patterns/issues/895) (#901) 2019-09-07 20:24:40 +03:00
Narendra Pathai 2aa9e78ddd Minor refactorings and code style changes (#807)
* Made minor changes in some patterns such as removed throws clause where not needed, changed incorrect order of arguments in assertEquals

* Minor refactorings and code style changes. 1) Removed several use of raw types 2) Removed unnecessary throws clauses 3) Used lambda expressions wherever applicable 4) Used apt assertion methods for readability 5) Use of try with resources wherever applicable 6) Corrected incorrect order of assertXXX arguments

* Removed unused import from Promise

* Addressed review comments

* Addressed checkstyle issue
2018-10-23 13:45:41 +05:30
Narendra Pathai 709405d964 Resolved checkstyle issues 2018-09-11 16:11:59 +05:30
Narendra Pathai f3749a2b9d Solved the classcast exception and used instanceof instead. Improved javadocs a bit. 2018-09-11 15:58:14 +05:30
bordoisila1 e1a2f141c5 Fixed minor changes suggested by Checkstyle 2018-08-20 22:36:58 -04:00
Argyro-Sioziou 57f60c5ebf Updating javadoc comments 2018-06-14 18:30:46 +03:00
Argyro-Sioziou 51659fe9c5 Updating HayesVisitor and ZoomVisitor 2018-06-14 18:04:30 +03:00
Argyro-Sioziou 6636fb151b Adding AllModemVisitor interface 2018-06-14 12:40:41 +03:00
Argyro-Sioziou 6a0fa747ad Fixing typos 2018-06-14 12:18:46 +03:00
Argyro-Sioziou 8b1ed95d6b Updating ConfigureForDosVisitorTest and ConfigureForUnixVisitorTest classes 2018-06-14 12:14:35 +03:00
Argyro-Sioziou 6167d06dce Removing test case 2018-06-14 12:02:34 +03:00
Argyro-Sioziou 49feead13f Removing interfaces' test classes 2018-06-14 11:59:02 +03:00
Argyro-Sioziou 179a02bcdd Removing default constructors 2018-06-14 11:52:23 +03:00
Argyro-Sioziou afe85e22e7 Enhancing code format 2018-05-29 01:37:53 +03:00
giorgosmav21 27f58e0925 Adding HayesTest and ZoomTest 2018-05-27 17:04:22 +03:00
giorgosmav21 36a14778dc Adding App class 2018-05-27 17:02:56 +03:00
Argyro-Sioziou 5e1da6361f Adding ConfigureForDosVisitor and ConfigureForUnixVisitor 2018-05-27 16:58:38 +03:00
Argyro-Sioziou 97718846d1 Adding HayesVisitor and ZoomVisitor 2018-05-27 16:55:08 +03:00
giorgosmav21 bbdf1cd738 Adding Hayes and Zoom classes 2018-05-27 16:51:26 +03:00
giorgosmav21 323395daaf Adding ModemVisitorTest 2018-05-27 16:49:05 +03:00
giorgosmav21 75734a6b7d Adding Modem abstract class 2018-05-27 16:45:43 +03:00
Argyro-Sioziou 3f92b8f84e Adding ModemTest 2018-05-27 16:37:13 +03:00
Argyro-Sioziou 18a75c0620 Adding ModemVisitor interface 2018-05-27 16:12:31 +03:00