Skip to content

Commit

Permalink
VUU-96: Convert Date to LocalDate
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Nov 15, 2023
1 parent 3f84541 commit 1cab2d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import org.springframework.http.HttpStatus;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.time.LocalDate;
import java.util.List;

@Data
public class ErrorResponse {
private Date timestamp = new Date();
private LocalDate timestamp = LocalDate.now();
private int status;
private String error;
private List<String> messages;
Expand Down

0 comments on commit 1cab2d3

Please sign in to comment.