minor: assert instead of exception

This commit is contained in:
svtk
2013-11-01 13:19:20 +04:00
parent eea08cf4e1
commit 8c97beecb4
@@ -313,6 +313,6 @@ public class ResolvedCallImpl<D extends CallableDescriptor> implements ResolvedC
}
private void assertNotCompleted(String elementName) {
if (completed) throw new IllegalStateException(elementName + " is erased after resolution completion.");
assert !completed: elementName + " is erased after resolution completion.";
}
}