mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
disprefer return before statement
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class Util {
|
||||
void foo(int reaction, boolean rezet) {
|
||||
re<caret>
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
}
|
||||
+4
@@ -325,5 +325,9 @@ public class NormalCompletionOrderingTest extends CompletionSortingTestCase {
|
||||
assertPreferredItems(0, "Component", "FooBean3", "JComponent");
|
||||
}
|
||||
|
||||
public void testDispreferReturnBeforeStatement() {
|
||||
checkPreferredItems 0, 'reaction', 'rezet', 'return'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user