small reformatting

This commit is contained in:
Inderjeet Singh 2015-09-26 18:02:12 -07:00
parent 3daf585931
commit 3aec173243
2 changed files with 102 additions and 102 deletions

View File

@ -18,13 +18,13 @@ package com.google.gson.internal;
import junit.framework.TestCase; import junit.framework.TestCase;
public class LazilyParsedNumberTest extends TestCase { public class LazilyParsedNumberTest extends TestCase {
public void testHashCode(){ public void testHashCode() {
LazilyParsedNumber n1 = new LazilyParsedNumber("1"); LazilyParsedNumber n1 = new LazilyParsedNumber("1");
LazilyParsedNumber n1Another = new LazilyParsedNumber("1"); LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
assertEquals(n1.hashCode(), n1Another.hashCode()); assertEquals(n1.hashCode(), n1Another.hashCode());
} }
public void testEquals(){ public void testEquals() {
LazilyParsedNumber n1 = new LazilyParsedNumber("1"); LazilyParsedNumber n1 = new LazilyParsedNumber("1");
LazilyParsedNumber n1Another = new LazilyParsedNumber("1"); LazilyParsedNumber n1Another = new LazilyParsedNumber("1");
assertTrue(n1.equals(n1Another)); assertTrue(n1.equals(n1Another));