ab340e1de0
Motivation: switch is used when we have a good amount of cases because switch is faster than if-else. However, we're using only 1 case in switch which can affect performance. Modification: Changed switch to if. Result: Good code. |
||
---|---|---|
.. | ||
src | ||
pom.xml |