Menu

#5 Sever2

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

Both classes CurseWordFilterThread and AdvertiseFilterThread were with very similar constructors and the same refactor (extract superclass) was needed to be used to resolve this code smell.
Code Smell: Duplicated Code
Classes: CurseWordFilterThread and AdvertiseFilterThread
Smell in the constructors (public...() )
Refactoring: Extract Superclass

Discussion

  • Nicole Oliveira Rita

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,5 @@
    +Both classes CurseWordFilterThread and AdvertiseFilterThread were with very similar constructors and the same refactor (extract superclass) was needed to be used to resolve this code smell.
     Code Smell: Duplicated Code
     Classes: CurseWordFilterThread and AdvertiseFilterThread 
     Smell in the constructors (public...() )
    -Refactoring: Extract Method or Pull Up Method
    +Refactoring: Extract Superclass
    
     
  • Nicole Oliveira Rita

    • status: open --> closed
     

Log in to post a comment.