deleted unused variable.

This commit is contained in:
Inderjeet Singh 2008-10-20 19:51:38 +00:00
parent 0acb151941
commit 95861175a8
1 changed files with 0 additions and 1 deletions

View File

@ -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);