Skip to content

Commit

Permalink
Atualizar método isDuplicado para considerar código 204 como duplicado.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciodantas committed Mar 15, 2024
1 parent 96d63cc commit 3816d7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ public boolean isRejeitado() {
}

public boolean isDuplicado() {
return CODIGO_539.getCodigo() == this.codigo;
return CODIGO_539.getCodigo() == this.codigo || CODIGO_204.getCodigo() == this.codigo;
}

public int getCodigo() {
Expand Down

0 comments on commit 3816d7f

Please sign in to comment.