File tree Expand file tree Collapse file tree
src/main/java/com/squareup/squash Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111/** An exception to be tracked in Squash (the replacement for Hoptoad, because Hoptoad is lame). */
1212// All of the fields are only used for gson serialization, and so can't be made local or removed.
13- @ SuppressWarnings ({ "FieldCanBeLocal" , "UnusedDeclaration" })
13+ @ SuppressWarnings ({"FieldCanBeLocal" , "UnusedDeclaration" })
1414public class SquashEntry {
15- // Used in test.
16- static final String DATE_RFC_2822 = "EEE, dd MMM yyyy HH:mm:ss Z" ;
17-
18- private final ThreadLocal <DateFormat > dateFormatThreadLocal = new ThreadLocal <DateFormat >();
15+ private static final String DATE_RFC_2822 = "EEE, dd MMM yyyy HH:mm:ss Z" ;
16+ private static final ThreadLocal <DateFormat > dateFormatThreadLocal =
17+ new ThreadLocal <DateFormat >();
1918
2019 // Things that do not change per entry but should still be gson'd.
2120 private final String client ;
You can’t perform that action at this time.
0 commit comments