deleted unused variable.
This commit is contained in:
parent
0acb151941
commit
95861175a8
@ -225,7 +225,6 @@ public class DefaultTypeAdaptersTest extends TestCase {
|
||||
@SuppressWarnings("deprecation")
|
||||
public void testDateDeserializationWithPattern() throws Exception {
|
||||
String pattern = "yyyy-MM-dd";
|
||||
DateFormat formatter = new SimpleDateFormat(pattern);
|
||||
Gson gson = new GsonBuilder().setDateFormat(DateFormat.FULL).setDateFormat(pattern).create();
|
||||
Date now = new Date();
|
||||
String json = gson.toJson(now);
|
||||
|
Loading…
Reference in New Issue
Block a user