SortContentAction: fix IOOBE, check if expr is literal: IDEA-185784

This commit is contained in:
Roman Ivanov
2018-01-30 10:37:02 +07:00
parent d5d06483fe
commit abd1458307
2 changed files with 19 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
// "Sort content" "false"
import java.util.*;
public class Main {
void foo(int... vararg) {
}
void test() {
foo(1, 4, 3,<caret> (int) 1);
}
}