mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
java redundant cast: fixed multiple casts in synchronized stmt
GitOrigin-RevId: 49a7d8dbcd26a3aa905c57db97d386bcbd285464
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f0233d4e68
commit
fdc80d017c
@@ -0,0 +1,7 @@
|
||||
class MyTest {
|
||||
|
||||
void dblCast() {
|
||||
synchronized ((Runnable) (<warning descr="Casting '() -> {...}' to 'Runnable' is redundant">Runnable</warning>) () -> {}) {}
|
||||
synchronized ((Runnable) (<warning descr="Casting '(Runnable)() -> {...}' to 'Runnable' is redundant">Runnable</warning>)(<warning descr="Casting '() -> {...}' to 'Runnable' is redundant">Runnable</warning>) () -> {}) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user