Skip to content

Commit

Permalink
chore: removing unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano committed Mar 23, 2024
1 parent 16d3548 commit f14d1d7
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit f14d1d7

Please sign in to comment.