From f14d1d78829004f786a3caca326d4f2f958fde2c Mon Sep 17 00:00:00 2001 From: AllanCapistrano Date: Sat, 23 Mar 2024 15:25:43 -0300 Subject: [PATCH] chore: removing unnecessary condition --- .../node/tasks/ChangeDisturbingNodeBehaviorTask.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/reputation/node/tasks/ChangeDisturbingNodeBehaviorTask.java b/src/main/java/reputation/node/tasks/ChangeDisturbingNodeBehaviorTask.java index ab137a0..6300d1f 100644 --- a/src/main/java/reputation/node/tasks/ChangeDisturbingNodeBehaviorTask.java +++ b/src/main/java/reputation/node/tasks/ChangeDisturbingNodeBehaviorTask.java @@ -57,13 +57,5 @@ public void run() { this.node.getNodeType().getNode().defineConduct(); this.changeBehaviorFlag = false; } - - /** - * Quando o nó alcançar uma reputação negativa, ele está habilitado a - * poder alterar novamente seu comportamento. - */ - if (reputationValue <= 0) { - this.changeBehaviorFlag = true; - } } }