Skip to content

Commit

Permalink
[fix] Cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Nov 10, 2023
1 parent b3e1fc4 commit 0c96695
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package it.gov.pagopa.receipt.pdf.generator.entity.receipt.enumeration;

public enum ReasonErrorCode {
ERROR_QUEUE(902), ERROR_BLOB_STORAGE(901), ERROR_PDF_ENGINE(700), ERROR_TEMPLATE_PDF(903);
ERROR_BLOB_STORAGE(901),
ERROR_PDF_ENGINE(700),
ERROR_TEMPLATE_PDF(903);

private int code;
private final int code;

ReasonErrorCode(int code){
this.code = code;
Expand All @@ -12,8 +14,4 @@ public enum ReasonErrorCode {
public int getCode(){
return this.code;
}

public int getCustomCode(int customCode){
return customCode;
}
}

0 comments on commit 0c96695

Please sign in to comment.