47 Commits

Author SHA1 Message Date
Ilkka Seppälä
f6d43975fa
docs: Grammatical fixes for Abstract Factory (#1782)
* Grammatical fixes

* Update abstract-factory/README.md

Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-06-05 13:03:25 +05:30
Noam Greenshtain
c8a2ef01d3
pattern: Active-Object pattern. (#1660)
* Closes #65.

* Removed

* Removed unnecessary files. Added logging. Closes Fixes #1660.

* Added Terminition condition.

* Logger implemented. Removed maven wrapper.

* Added module to parent POM. removed .gitignore

* Replaced tabs with whitespaces, added Javadocs.

* Fixed more whitespaces problems.

* Fixed more checkstyle errors

* More checkstyle errors.

* Checkstyle errors.

* Final checkstyle cleanup

* Added UML file. Changed System.exit() to Runtime.

* Changed buisiness logic and readme.md file

* Changed typos and readme.md file

* Fixed checkstyle errors

* Fixed grammer errors and CircleCI bugs.

* Wrong readme.md

* Added Thread.interrupt() for after catching exception.

* Fixed SonarCloud code smells.

* Removed unused brackets.

* Changed main program exit logic. Added tests.

* Reverted abstract-factory

* Cleaned code

* Added static to loggers. cleaned code smells.

* Checkstyle errors.

* Code Smells.

Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
2021-03-14 11:53:41 +05:30
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
Ilkka Seppälä
ebd38bcfaa Update license header 2020-10-04 14:09:36 +03:00
Vladislav Golubinov
bab48efd7c fix style 2020-09-06 12:01:48 +03:00
Vladislav Golubinov
29eecfd048 forgot to run the App 2020-09-06 11:52:16 +03:00
Vladislav Golubinov
87cf6b791c refactor 2020-09-06 11:48:40 +03:00
Vladislav Golubinov
2e36a11e24 remove lombok, related to #1503 2020-09-06 11:42:39 +03:00
Vladislav Golubinov
bd48d6ce10 refactor 2020-09-04 17:31:50 +03:00
Vladislav Golubinov
e89042a782 remove boilerplate code 2020-09-03 20:04:47 +03:00
Vladislav Golubinov
fb890e80dd refactor 2020-09-03 20:02:52 +03: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
Ilkka Seppälä
8747f1fd7a #1021 enforce Checkstyle rules in the build 2019-11-16 16:00:24 +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
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
Artur Mogozov
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
Tschis
933c84ff1c Fix checkstyle validations 2017-11-07 22:32:36 -03:00
Tschis
3634b3338c Fix checkstyle validations 2017-11-07 22:19:10 -03:00
Tschis
d37922bf82 add factory of factories 2017-11-07 21:05:04 -03:00
Mudit Porwal
09585c3874 Removed AvoidStarImport Rule
Added JavaDocType Rule
2017-03-22 01:16:02 +08:00
Ilkka Seppälä
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
daniel-bryla
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Narendra Pathai
b5d4445d63 Made example App a bit easier to understand 2016-02-10 17:53:32 +05:30
Ilkka Seppälä
59c32d3937 Add tests that run the examples 2016-01-31 12:09:09 +02:00
Joseph McCarthy
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Ilkka Seppala
cec9a99410 Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations. 2015-12-25 23:49:28 +02:00
tainarareis
34528173b7 Issue #286: Added main method in Abstract Factory Example 2015-11-14 16:48:19 -02:00
Ankur Kaushal
c0c21ebd91 Reformat Abstract Factory - Issue #224 2015-11-01 17:18:39 -05:00
Ilkka Seppala
339db2a0bf Merge branch 'master' of https://github.com/themoffster/java-design-patterns into themoffster-master
Conflicts:
	dao/pom.xml
2015-10-19 20:44:46 +03:00
Ilkka Seppala
0a61d7b067 Improve Abstract Factory Javadocs 2015-10-03 11:53:44 +03:00
Alan
9c43827004 Removed erroneous semi-colon. 2015-09-05 22:00:27 +01:00
Alan
5956873fc9 Improved unit tests so assertions are used. 2015-09-05 00:31:35 +01:00
Ilkka Seppala
1dc2d8d0c7 #107 JavaDoc improvements 2015-08-18 21:28:23 +03:00
Ilkka Seppala
fd85a2f848 #107 JavaDoc improvements for Abstract Factory example 2015-08-17 23:06:44 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
matthew
3da9ad5469 Formatted all files to the same standard 2014-10-08 13:42:12 +01:00
Matthew
bde5b343d0 Just formatting App classes to be like the other class files on the project 2014-10-07 16:23:37 +01:00
Ilkka Seppala
5aead88e5e Added comments for Abstract Factory example. 2014-08-31 00:16:06 +03:00
Ilkka Seppala
ce5700c1b7 added abstract-factory sample 2014-08-09 20:38:00 +03:00