Closed maarzt closed 6 years ago
I think this PR is great. I only have one concern, which is that the new AbstractImagePlusImg
extends ImagePlusImg
, which is counterintuitive naming-wise. Since ImagePlusImg
has only non-public constructors, why not make ImagePlusImg
abstract and include the shared code directly there instead?
I merged locally and pushed to master
This PR is pure refactoring, no behavior of any class is changed.
A lot of code duplication is removed be introducing a new class AbstractImagePlusImg.