Commit Graph

17 Commits

Author SHA1 Message Date
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
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 0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
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
Joseph McCarthy e25ef1b0f8 Check Style fixes #334 2016-01-02 00:54:26 +00:00
Joseph McCarthy ca4a4ec07b Created a Lambdas example for the callback pattern, using the same output of the traditional version. Have also added another unit test for issue #334 2016-01-01 23:41:56 +00:00
Ilkka Seppala 5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02: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
Ankur Kaushal 449340bd2b Reformat business-delegate, callback, chain, command, composite, dao, decorator & dependency-injection patterns. 2015-11-01 18:48:43 -05:00
Richard Jones 21a4d7b4c9 Add unit test to show that the callback method is called. 2015-10-19 22:07:00 +01:00
Richard Jones 83c2fbdcd3 Add unit test to show that the callback method is called. 2015-10-19 22:06:35 +01:00
Ilkka Seppala b3b6479f6f #107 Callback JavaDoc improvements 2015-08-18 21:51:04 +03:00
Ilkka Seppala 8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
vehpsr 9312059f19 Callback pattern description amendment 2015-03-27 11:13:29 +02:00
vehpsr bf2df42c55 added Callback pattern 2015-03-26 22:47:04 +02:00