interactwithankush
600227d2e4
fix: Sonar report - fix blocker and critical ones ( #1899 )
...
* update SpatialPartitionBubbles - fix Sonar blocker issue
* fix Sonar critical issue - Define constant instead of duplicating the literal
* fix Sonar critical issue - remove unnecessary default constructor
* fix Sonar critical issue - Define constant instead of duplicating the literal
* fix Sonar critical issue - Define constant instead of duplicating the literal
* fix Sonar critical issue - Define constant instead of duplicating the literal
* fix Sonar critical issue - fix checkstyle issue
* fix Sonar critical issue - fix code smells
* fix Sonar critical issue - fix code smells
* fix Sonar critical issue - fix code smells
* fix sonarbugs - adding test cases for Commander class
* sonar fix - add assert commands in CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar fix - add test cases for CommanderTest
* sonar bug fix & test cases
* sonar bug fix & test cases
* sonar bug fix & test cases
* sonar bug fix & test cases
* sonar bug fix & test cases
* Revert "sonar bug fix & test cases"
This reverts commit 640dd55e35a9730e981d14665913f3d9b5b2d3b2.
* sonar bug fix & test cases
* sonar bug fix & test cases
* sonar bug fix & test cases
* sonar bug fix : avoid Thread.sleep
* sonar bug fix : cleanup Thread.sleep
* sonar bug fix: test commit
* sonar bug fix: test commit
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
Co-authored-by: atayal <Ankush_Tayal@intuit.com>
2021-12-16 20:05:13 +05:30
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
Ilkka Seppälä
dc31960710
Remove unused logger objects
2020-11-08 19:37:15 +02:00
Rakesh Venkatesh
af1b611136
code refactor
2020-10-13 17:36:59 +02:00
Rakesh Venkatesh
4ff196ce35
Refactor the command pattern to use lambda functions
...
We can leverage the lambda expressins of Java 8 onwards
to implement command design pattern instead of traditional
non functional way
2020-10-13 16:45:19 +02:00
Toxic Dreamz
31471acb69
Fixed most reported issues by SonarCloud.
2020-08-15 21:47:39 +04:00
Rakesh Venkatesh
b9f17824fa
removing unwanted modifiers
2020-08-03 17:38:03 +02:00
Rakesh Venkatesh
3ae7466647
Typically command pattern is implemented using
...
interfaces and concrete classes. Refactor the
code to use the same
2020-08-03 16:51:30 +02: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
1c558ff4c5
Organised below design patterns into modules: ( #1181 )
...
1. Command
2. Composite
2020-03-07 11:20:44 +00:00
Anurag Agarwal
33ea7335b1
Java 11 migration: patterns (remaining b-c) ( #1081 )
...
* Moves business-delegate pattern to java 11
* Moves bytecode pattern to java 11
* Moves caching pattern to java 11
* Moves callback pattern to java 11
* Moves chain pattern to java 11
* Moves circuit-breaker pattern to java 11
* Moves collection-pipeline pattern to java 11
* Moves command pattern to java 11
* Moves commander pattern to java 11
* Moves composite pattern to java 11
* Corrects test cases
2019-11-12 21:56:46 +02:00
Anurag Agarwal
2f49648047
Resolves checkstyle errors for collection-pipeline, command, commander ( #1061 )
...
* Reduces checkstyle errors in collection-pipeline
* Reduces checkstyle errors in command
* Reduces checkstyle errors in commander
2019-11-09 21:35:15 +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
Artur Mogozov
6694d742a3
Migrate to JUnit5
2017-12-31 16:29:48 +09:00
靳阳
176bb85f40
fix typo
...
'exepcted'->'expected'
'expectedVisibilty'->'expectedVisibility'
2017-12-12 20:40:16 +08:00
Dos Debug
c9f4048301
Removes unused size and visibility enumerations
2017-09-21 20:10:12 +05: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
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
mfarid
e5614e5a20
Added UnitTest cases for command.
2015-11-22 05:45:45 +05:30
Ankur Kaushal
449340bd2b
Reformat business-delegate, callback, chain, command, composite, dao, decorator & dependency-injection patterns.
2015-11-01 18:48:43 -05:00
Ilkka Seppala
d5f52edecf
Improve Command Javadoc
2015-10-03 20:21:56 +03:00
Ilkka Seppala
98abe5b5b6
#107 Improvements for Command example JavaDocs
2015-08-18 22:01:08 +03:00
Ilkka Seppala
db6ec3cc1a
#95 Updated and clarified Command pattern example
2015-06-30 17:52:53 +03:00
Ilkka Seppala
8524c75ba6
Changed package naming across all examples.
2015-05-31 11:55:18 +03:00
jack.zhang
120555f740
add redo function on command pattern
2015-04-15 14:30:21 +08:00
ruslanpa
0fbb4f4003
[refactor] Remove unnecessary declarations in command pattern.
2015-02-10 09:23:59 +02:00
ruslanpa
6f59f25154
[refactor] Makes enums more readable.
2015-02-06 12:48:28 +02:00
Ilkka Seppala
22ca6fef60
Improved Command pattern code comments.
2014-12-27 11:11:54 +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
52ca001a7a
Comments for command example.
2014-08-31 10:56:56 +03:00
Ilkka Seppala
0785bccffb
added command sample
2014-08-17 14:42:10 +03:00