Code cleanup (Removed spaces) (#1474)
* Removed double spaces in comments * Unified comments * Removed space * Removed spaces in code
This commit is contained in:
parent
4d942db168
commit
b75e1bbc79
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user