04bf566dc1
task: Explanations and grammar fixes for all the GoF patterns ( #1791 )
...
* Grammatical fixes to command pattern
* Update bridge pattern readme
* Fixes to builder pattern grammar
* Update chain of responsibility
* Improvements to the composite example
* Fixes to headings
* Minor updates to decorator pattern
* Update facade
* Update factory example
* Update factory method
* Update flyweight
* Interpreter explanation
* Update iterator readme
* Add explanation for mediator pattern
* Grammatical fixes to memento
* Grammar fixes for observer
* Update explanation for the prototype pattern
* Proxy pattern grammar fixes
* Update singleton
* Grammar fixes to state pattern
* Grammar fixes for strategy
* Grammar fixes, template method
* Grammar fixes for visitor
* Fix typo
2021-06-24 18:27:20 +05:30
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
7891c2b117
update inception year to 2021 ( #1653 )
2021-02-14 11:57:57 +02:00
31471acb69
Fixed most reported issues by SonarCloud.
2020-08-15 21:47:39 +04:00
6a8297598e
#1047 remove module infos
2020-08-01 15:19:09 +03:00
417f21ed3d
Code cleanup ( #1461 )
...
* Code cleanup
* Fix flux tests
* Fix checkstyle errors
* Fix compile error
2020-07-30 20:28:47 +03:00
54db4497a3
Organised the below patterns into modules: ( #1185 )
...
1. Decorator
2. Delegation
2020-03-07 11:47:24 +00:00
ea57934db6
Java 11 migrate c-d (remaining) ( #1111 )
...
* Moves converter pattern to Java 11
* Moves cqrs pattern to Java 11
* Moves dao pattern to Java 11
* Moves data-bus pattern to Java 11
* Moves data-locality pattern to Java 11
* Moves data-mapper pattern to Java 11
* Moves data-transfer-object pattern to Java 11
* Moves decorator pattern to Java 11
* Moves delegation pattern to Java 11
* Moves dependency-injection to Java 11
* Moves dirty-flag to Java 11
* Moves double-buffer to Java 11
* Moves double-checked-locking to Java 11
* Moves double-dispatch to Java 11
* Corrects with changes thats breaking test cases
2019-12-14 20:32:45 +02:00
7e4d0b4cdc
Changes aggregation to composition (as described in issue #1095 ) ( #1096 )
2019-11-18 19:04:40 +02:00
01e489c77b
Resolves checkstyle errors for dao data-bus data-locality data-mapper data-transfer-object decorator ( #1067 )
...
* Reduces checkstyle errors in dao
* Reduces checkstyle errors in data-bus
* Reduces checkstyle errors in data-locality
* Reduces checkstyle errors in data-mapper
* Reduces checkstyle errors in data-transfer-object
* Reduces checkstyle errors in decorator
2019-11-10 19:27:09 +02:00
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
9ebbc421dd
Update license headers
2019-10-12 20:05:54 +03:00
86e9c66ca5
- Assign new clubberTroll instance to another variable.
...
- Remove redundant Exception from throws list in unit tests.
2018-10-15 11:41:14 +07:00
6694d742a3
Migrate to JUnit5
2017-12-31 16:29:48 +09:00
6a560f7d15
Delete duplicate declared objects:ClubbedTroll
...
Trolls should not be re-declared: if I had a troll called Zac, one day I
gave him a weapon.I can not because he now has a weapon called him
Trundle. He is still Zac.
2017-09-14 10:20:20 +08:00
9d2f0c6c71
#590 Add explanation to Decorator pattern
2017-09-02 23:10:39 +03:00
faa29f8025
Update license headers
2016-11-27 14:34:20 +02:00
92f8501f7d
Decorator pattern: Improve the example
2016-11-22 23:08:39 +02:00
68ec24c62e
Merge pull request #515 from dbryla/master
...
#502 Added logging framework to repository
2016-11-18 20:47:17 +02:00
9180bb0fef
Update App.java
...
The relationship between decorator and target (in the code example between Troll und SmartTroll) ist not a composition as described in the code comment lines of class App. It's a aggregation. In a composition both instances canncot live without the other one. But the target (Troll) could live without the decorator (Smart Troll). Changed "composition" to "aggregation" in the comment lines. Code lines are unchanged.
Greetings Thomas
2016-11-14 16:43:58 +01:00
e138163c4f
#502 Adjusted tests for logger introduction
2016-11-04 11:47:06 +01:00
0438811489
#502 Replaced usages of System.out with logger.
2016-10-23 19:59:03 +02:00
0c56d800c5
Override annotation added
...
I think this is a typo
2016-03-26 15:22:33 +03:00
3d95696078
#358 Added license to all files using plugin
2016-01-27 22:20:42 +00:00
bd83fa28bb
Correct method name and cleanup etc folder #264
2016-01-07 00:34:33 +08:00
30ca1ea1fb
Decorator pattern: SmartTroll should be SmartHostile #264
2016-01-04 23:07:33 +08:00
5f033be54f
Fix PMD violations #327
2015-12-27 21:21:57 +02:00
10a94cc91c
Add proper unit tests for decorator pattern
2015-12-07 20:37:27 +01:00
449340bd2b
Reformat business-delegate, callback, chain, command, composite, dao, decorator & dependency-injection patterns.
2015-11-01 18:48:43 -05:00
8cf35fc315
Improve Decorator Javadoc
2015-10-03 20:43:38 +03:00
ec9af416ba
#247 adding getAttackPower method to pattern decorator
2015-09-23 17:58:58 +01:00
10a911be54
#107 Decorator example JavaDoc
2015-08-18 22:10:57 +03:00
8524c75ba6
Changed package naming across all examples.
2015-05-31 11:55:18 +03:00
6301e0bc11
Added unit tests for each of the patterns.
2014-12-06 20:34:41 +02:00
9336284814
Improved decorator example.
2014-12-06 14:35:18 +02:00
10d4e3cadd
Improved comments for decorator example.
2014-12-06 14:29:31 +02:00
3da9ad5469
Formatted all files to the same standard
2014-10-08 13:42:12 +01:00
bde5b343d0
Just formatting App classes to be like the other class files on the project
2014-10-07 16:23:37 +01:00
1168f6e41f
Updated decorator implementation and class diagram. Added comments.
2014-08-31 09:18:16 +03:00
e742950c19
added decorator sample
2014-08-13 21:45:19 +03:00