Here a little Refactoring Exercise.
- Checkout the "uglyness" commit.
https://github.com/peitor/Refactorings-ExtractClass/tree/d198480b0bb405212832369785cd05416fc46d7e - Find the smells
- Refactor the smells.
- Be happy
Full blog post here https://blog.gfader.com/2020/08/resharper-vs-intellij-extract-class.html