Code smell: type checking Location: birdsong.dummy.BirdSongClientMessageReceiver.run() Rationale: The Switch statement checks for types of message. One can use polymorphism to improve code readability this reducing the size of the method.
ClientSideMessageDummy is now abstract and one class for each type of message has been created.
Log in to post a comment.
ClientSideMessageDummy is now abstract and one class for each type of message has been created.