While looking into the God Class code smell (section 2.1.1 of jEdit
Milestone #3) in the Replace class, another code smell was identified.
This code smell fell under the criteria of “Instance Of ” code smell.
The method in which “Instance Of” code smell, current changes and
refactroing in Replace class and Selection class have removed the
InstanceOf code smell.

Detailed instructions of steps of the refactorings and the changes made
are available in the published jEdit Milestone #3, section 2.1.2 Type
Checkinh (InstanceOf)
Merge pull request #3 from SOEN6471-jEdit/instanceofrefactoring

instanceofrefactoring pull request