GitOrigin-RevId: c000a7edd17ac10aad022333647b5cc183531b06
This commit is contained in:
Anna Kozlova
2020-05-11 08:33:17 +00:00
committed by intellij-monorepo-bot
parent 52b11c119b
commit e218e80eeb
@@ -907,6 +907,7 @@ public class RedundantCastUtil {
}
PsiType opType = operand.getType();
if (opType == null) return;
if (castTo instanceof PsiClassType && TypeConversionUtil.isPrimitiveAndNotNull(opType)) {
if (oppositeOperand != null &&