Code cleanup (Removed spaces) (#1474)

* Removed double spaces in comments

* Unified comments

* Removed space

* Removed spaces in code
This commit is contained in:
Lorenz Nickel 2019-03-03 20:18:06 +01:00 committed by inder123
parent 4d942db168
commit b75e1bbc79
18 changed files with 51 additions and 49 deletions

View File

@ -45,14 +45,16 @@ public class RecursiveTypesResolveTest extends TestCase {
/**
* Test simplest case of recursion.
*/
public void testRecursiveResolveSimple() {
TypeAdapter<Foo1> adapter = new Gson().getAdapter(Foo1.class);
assertNotNull(adapter);
}
//
// Real-world samples, found in Issues #603 and #440.
//
/**
* Real-world samples, found in Issues #603 and #440.
*/
public void testIssue603PrintStream() {
TypeAdapter<PrintStream> adapter = new Gson().getAdapter(PrintStream.class);
assertNotNull(adapter);
@ -63,9 +65,9 @@ public class RecursiveTypesResolveTest extends TestCase {
assertNotNull(adapter);
}
//
// Tests belows check the behaviour of the methods changed for the fix
//
/**
* Tests belows check the behaviour of the methods changed for the fix.
*/
public void testDoubleSupertype() {
assertEquals($Gson$Types.supertypeOf(Number.class),
@ -87,9 +89,9 @@ public class RecursiveTypesResolveTest extends TestCase {
$Gson$Types.subtypeOf($Gson$Types.supertypeOf(Number.class)));
}
//
// tests for recursion while resolving type variables
//
/**
* Tests for recursion while resolving type variables.
*/
private static class TestType<X> {
TestType<? super X> superType;