EA-47995 - assert: CommonMoveUtil.retargetUsages

This commit is contained in:
anna
2013-07-24 18:59:29 +02:00
parent fbf46975c2
commit 991cb3dad4
@@ -49,7 +49,7 @@ public class CommonMoveUtil {
final MoveRenameUsageInfo moveRenameUsage = (MoveRenameUsageInfo)usage;
final PsiElement oldElement = moveRenameUsage.getReferencedElement();
final PsiElement newElement = oldToNewElementsMapping.get(oldElement);
LOG.assertTrue(newElement != null);
LOG.assertTrue(newElement != null, oldElement);
final PsiReference reference = moveRenameUsage.getReference();
if (reference != null) {
try {