Commit Graph
4 Commits
Author SHA1 Message Date
Rakesh Venkatesh 0c83ccc2fe Use enums instead os switch blocks
Its better to use enums instead of switch
blocks which makes the code longer and difficult
to maintain as and when new state appears.
2020-08-05 15:50:05 +02:00
Rakesh Venkatesh f234baf258 Cleanup code 2020-08-04 16:34:41 +02: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