mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
java redundant cast: check conditional poly expression after cast is removed (IDEA-251055)
GitOrigin-RevId: 32c2f18de0725a517f1ceb746edc8fa468b6fafa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
08000a2a06
commit
cdbae12245
@@ -0,0 +1,5 @@
|
||||
class MyTest {
|
||||
private static Object foo(String s, boolean b) {
|
||||
return b ? (Object) Double.parseDouble(s) : (Object) Long.parseLong(s);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user