deleted redundant and invalid precondition.

This commit is contained in:
Inderjeet Singh 2014-03-08 19:33:24 +00:00
parent c3d0f200b3
commit b2a9d872db

View File

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