Menu

#4 Server1

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

There were two similar classes (CurseWordFilterThread and AdvertiseFilterThread) in the method readFile and the refactoring used was the extract Superclass so that it would increase readability and portability.
Code Smell: Duplicated Code
Classes: CurseWordFilterThread and AdvertiseFilterThread
Methods: readFile (in both classes)
Refactoring: Extract Superclass

Discussion

  • Nicole Oliveira Rita

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,6 @@
    +There were two similar classes (CurseWordFilterThread and AdvertiseFilterThread) in the method readFile and the refactoring used was the extract Superclass so that it would increase readability and portability.
     Code Smell: Duplicated Code
     Classes: CurseWordFilterThread and AdvertiseFilterThread
     Methods: readFile (in both classes)
    -Refactoring: Extract Method or Pull Up Method
    +Refactoring: Extract Superclass
    
     
  • Nicole Oliveira Rita

    • status: open --> closed
     

Log in to post a comment.