mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
SortContentAction: fix warping in the middle of initializer: IDEA-185786
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
private void test() {
|
||||
String[] LAST_NAMES = new String[]{
|
||||
//A
|
||||
"Allen", "Anderson", "Brown", "Clark", "Davis", "Garcia", "Hall",
|
||||
"Harris", "Jackson", "Johnson", "Jones", "Lee", "Lewis", "Martin",
|
||||
|
||||
"Martinez", "Miller", "Moore", "Robinson", "Rodriguez", "Smith", "Taylor",
|
||||
"Thomas", "Thompson", "Walker", "White", //B
|
||||
"Williams", "Wilson", "Young"//Z
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
private void test() {
|
||||
String[] LAST_NAMES = new String[]{
|
||||
//A
|
||||
"Smith", "Johnson", "Williams", "Jones", "Brown", "Davis", "Miller",
|
||||
"Wilson", "Moore", "Taylor", "Anderson", "Thomas", "Jackson", "White",
|
||||
//B<caret>
|
||||
"Harris", "Martin", "Thompson", "Garcia", "Martinez", "Robinson", "Clark",
|
||||
"Rodriguez", "Lewis", "Lee", "Walker", "Hall", "Allen", "Young"
|
||||
//Z
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user