redundant casts: exclude casts from primitive types in synchronized stms (IDEA-58637 )

This commit is contained in:
anna
2011-08-24 21:13:56 +02:00
parent 12fbfe579f
commit a6c2368498
4 changed files with 14 additions and 0 deletions
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
</problems>
@@ -0,0 +1,8 @@
class CastTest
{
public static void main (String[] args) throws CloneNotSupportedException
{
int i = 0;
synchronized ((Object)i){}
}
}