mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
redundant cast: ensure that temp variable would have unique name (IDEA-118197)
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems/>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
|
||||
public class RedundantCast{
|
||||
<T> void foo2(List<Object[]> x) {
|
||||
for (Object[] l : x) {
|
||||
String[] s = (String[]) l;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user