deleted redundant and invalid precondition.
This commit is contained in:
parent
c3d0f200b3
commit
b2a9d872db
@ -444,7 +444,6 @@ public final class $Gson$Types {
|
||||
boolean isStaticOrTopLevelClass = Modifier.isStatic(rawTypeAsClass.getModifiers())
|
||||
|| rawTypeAsClass.getEnclosingClass() == null;
|
||||
checkArgument(ownerType != null || isStaticOrTopLevelClass);
|
||||
checkArgument(ownerType == null || !isStaticOrTopLevelClass);
|
||||
}
|
||||
|
||||
this.ownerType = ownerType == null ? null : canonicalize(ownerType);
|
||||
|
Loading…
Reference in New Issue
Block a user