RedundantCastUtil: do not report false-positive in code like Object x = (long)intValue;

GitOrigin-RevId: c290213db44e67f5c8949da0b9dce58a7cb9323a
This commit is contained in:
Tagir Valeev
2019-04-23 13:19:17 +03:00
committed by intellij-monorepo-bot
parent e5a2358183
commit 3840db2736
2 changed files with 8 additions and 3 deletions
@@ -15,4 +15,7 @@ class A {
widen((int)c);
}
Object test(int x) {
return (long) x;
}
}