35 Commits

Author SHA1 Message Date
Harshal
36c6ce1df7
sonar fix: Update App.java (#1896)
* Update App.java

Sonar issue fix

* Update App.java
2021-10-31 09:10:58 +02:00
Ilkka Seppälä
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
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
6ce33ed6df
Arranged following design patterns into modules: (#1210)
1. Factory Method
2. Feature Toggle
2020-03-26 21:04:11 +02:00
Anurag Agarwal
670c4e43f3 Java 11 migrate 7 remaining f (#1115)
* Moves facade to Java 11

* Moves factory-kit to Java 11

* Moves factory-method to Java 11

* Moves feature-toggle to Java 11

* Moves fluentinterface to Java 11

* Moves flux to Java 11

* Moves flyweight to Java 11

* Moves front-controller to Java 11

* Uses stream properly

* Resolves issues with ci
2019-12-22 14:41:19 +02:00
Ilkka Seppälä
47ae477a56 #1021 Checkstyle changes for Factory Method 2019-11-05 17:28:08 +02:00
Hemant Bothra
cdb80b8ddd Issue 893 (#1014)
* Using static object to reduce memory foot prints

* Updating README along with name of static fields

* Updating code as per review comments

* Updating code as per review comments

* Updating doc as per new code
2019-10-30 08:27:24 +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
靳阳
8312e09f6e
replace 'a' with 'an'
[A or An](https://www.a-or-an.com/a_an/axe)
2017-12-14 16:15:02 +08:00
Yosfik Alqadri
56ba78a5e9 fix test message 2017-10-07 20:33:24 +07: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
221b71781a Resolved checkstyle audit error 2016-02-11 12:29:35 +05:30
Narendra Pathai
f64ba22c64 1) Removed warning from test case. 2) Made implementation of App more understandable. 2016-02-10 17:38:15 +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
mfarid
ced317bc9d Added UnitTest cases for factory method. 2015-11-22 05:46:14 +05:30
Ankur Kaushal
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala
c989f6cb21 Improve Factory Method Javadoc 2015-10-03 21:14:40 +03:00
Ilkka Seppala
1ec86b732a #107 Factory Method example JavaDoc 2015-08-18 22:44:58 +03:00
Ilkka Seppala
3d488ec15a #108 Consistent package naming throughout the examples 2015-07-24 11:32:22 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
ruslanpa
eb9b5fdd1b [refactor] Update WeaponType enum in factory-method pattern. 2015-02-09 21:52:39 +02: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
2038d69d92 Commented factory method example. 2014-08-31 08:29:50 +03:00
Ilkka Seppala
a9de898072 added factory method sample 2014-08-10 10:07:38 +03:00