mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
Java: Simplified handling the parentheses in the quick-fix Collection.toArray() (IDEA-163341)
This commit is contained in:
@@ -4,7 +4,7 @@ import java.util.*;
|
||||
class Cast {
|
||||
Integer[] foo() {
|
||||
Iterable<Integer> c = Arrays.asList(1, 2);
|
||||
Integer[] arr = ((Collection<Integer>)c).toArray(new Integer[0]);
|
||||
Integer[] arr = ((Collection<Integer>) c).toArray(new Integer[0]);
|
||||
return arr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user