BadSmell: Duplicated code print statement