Skip to content

Commit 8b4cfe7

Browse files
refactor: remove redundant initializer
1 parent f3095d8 commit 8b4cfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/itau/transferencia/exceptions/BusinessException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import org.springframework.http.HttpStatus;
44

55
public class BusinessException extends RuntimeException {
6-
private HttpStatus httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
6+
private HttpStatus httpStatus;
77

88
public BusinessException(String message, HttpStatus httpStatus) {
99
super(message);

0 commit comments

Comments
 (0)