refactor: Declares the template method as final (Issue 1099) (#2057)

This commit is contained in:
Dominik Gruntz
2022-10-10 18:19:04 +02:00
committed by GitHub
parent 8a7c7b6f21
commit 67f01d43aa
4 changed files with 20 additions and 9 deletions
@@ -41,7 +41,7 @@ public abstract class StealingMethod {
/**
* Steal.
*/
public void steal() {
public final void steal() {
var target = pickTarget();
LOGGER.info("The target has been chosen as {}.", target);
confuseTarget(target);