Commit c42d10b3 authored by Khalid Ali's avatar Khalid Ali
Browse files

Make dateFormat an instance variable for security.

parent b786f270
......@@ -14,7 +14,7 @@ import java.util.TimeZone;
public class ListingDto {
private static final SimpleDateFormat dateFormat
private final SimpleDateFormat dateFormat
= new SimpleDateFormat("yyyy-MM-dd HH:mm");
private Long id;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment