Menu

#14 BirdsongUserCollectionMessages

1.0
closed
None
2016-03-29
2016-03-29
No

Code Smel: Large Class
Location: birdsong.spam.users.BirdsongUserMessage
Refactoring: I noted the existence of several instance variables,
usually it indicates that a class is trying to do many things. So I decided to create a new class called BirdsongUserCollectionMessage with getMessageCollectionBeforeTimestamp() and removeMessagesUnderTimestamp() methods.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB