Skip to content

Commit

Permalink
Merge pull request #955 from wmixvideo/correcao_duplicidade
Browse files Browse the repository at this point in the history
Atualizar método isDuplicado para considerar código 204 como duplicado.
  • Loading branch information
mauriciodantas authored Mar 15, 2024
2 parents 96d63cc + 3816d7f commit e0d7def
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 e0d7def

Please sign in to comment.