mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
redundant casts: exclude casts from primitive types in synchronized stms (IDEA-58637 )
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
</problems>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class CastTest
|
||||
{
|
||||
public static void main (String[] args) throws CloneNotSupportedException
|
||||
{
|
||||
int i = 0;
|
||||
synchronized ((Object)i){}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user