Duarte Marcelino
-
2016-03-28
- summary: 2 - TypeChecking --> 2 - Primitive Obcession
In the class Spam Filter it was found a Primitive Obsession type of code smell. This type of code smell, usually appears when the code in the class relies too much on primitive types.
In more specific details, this smell manifests itself in the method currentTime() int the Class SpamFilter in the lines 98 to 103.
Method:
->currentTime(long startime);