35 Commits

Author SHA1 Message Date
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
Anurag Agarwal
10988526a2
Merge branch 'master' of github.com:iluwatar/java-design-patterns into java-11 2020-08-03 15:42:18 +00: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
Anurag Agarwal
93e5570778
Java 11 migraiton: mediator pattern 2020-04-12 22:19:11 +00:00
Anurag Agarwal
1fdc650545 Resolves checkstyle errors for remaining m (#1090)
* Reduces checkstyle errors in marker

* Reduces checkstyle errors in master-worker-pattern

* Reduces checkstyle errors in mediator

* Reduces checkstyle errors in memento

* Reduces checkstyle errors in model-view-controller

* Reduces checkstyle errors in model-view-presenter

* Reduces checkstyle errors in module

* Reduces checkstyle errors in monad

* Reduces checkstyle errors in monostate

* Reduces checkstyle errors in multiton

* Reduces checkstyle errors in mute-idiom

* Reduces checkstyle errors in mutex
2019-11-16 14:48:23 +02:00
Leon Mak
c8a481bb77 Add java 11 support for #987 (o-t) (#1051)
* Use java 11

* Use .of
- Replace Arrays.asList with List.of
- Replace HashSet<>(List.of()) with Set.of

* Formatting
2019-10-29 08:37:40 +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
baislsl
e0b8f6f850 fix checkstyle 2018-03-06 16:09:22 +08:00
Artur Mogozov
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
Ilkka Seppälä
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
daniel-bryla
e138163c4f #502 Adjusted tests for logger introduction 2016-11-04 11:47:06 +01:00
daniel-bryla
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Joseph McCarthy
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Ilkka Seppälä
7c6e1fc3d8 Merge pull request #323 from DevFactory/code-quality-fix-5
Code quality fixes
2015-12-30 19:47:19 +02:00
Ilkka Seppala
8b020837ea Checkstyle corrections 2015-12-29 21:34:27 +02:00
Ilkka Seppala
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
Kirill Vlasov
191078735f Fixing squid:S1698 - Objects should be compared with equals() and squid:HiddenFieldCheck - Local variables should not shadow class fields 2015-12-27 21:12:35 +05:00
Jeroen Meulemeester
719f80a0d6 Added tests for mediator pattern 2015-12-20 00:00:07 +01:00
Ankur Kaushal
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala
fc66ae8084 Improve Mediator Javadoc 2015-10-03 23:34:20 +03:00
Ilkka Seppala
252f93899f #107 Improve JavaDoc for Mediator example 2015-08-19 22:12:05 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
ruslanpa
8980b3958c [refactor] Extends Action enum in mediator pattern. 2015-02-10 09:48:22 +02:00
ruslanpa
5b81a88d84 [refactor] Update Action enum in mediator pattern. 2015-02-09 21:59:12 +02:00
Ilkka Seppala
742f8376b3 Improved comments for mediator example. 2015-01-07 21:19:28 +02:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
mafagafogigante
5e28382021 Fixed spaces instead of tabs. 2014-11-08 20:49:40 -02:00
mafagafogigante
bc060309e3 Improves a toString method.
Makes it more readable and deletes an useless semicolon.
2014-11-08 20:45:18 -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
13306023f0 Comments for mediator example. 2014-08-31 11:07:37 +03:00
Ilkka Seppala
82f5f88964 added mediator sample 2014-08-21 20:06:49 +03:00