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

This commit is contained in:
Dominik Gruntz authored and GitHub committed 2022-10-10 19:19:04 +03:00
1 parent 8a7c7b6f21
commit 67f01d43aa
4 files changed
+20 -9

No files matched your search

@@ -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);