mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
IDEA-121784 (Add on demand static import intention not available when single-member static import present)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Add on demand static import for 'java.lang.Math'" "true"
|
||||
package test;
|
||||
|
||||
import static java.lang.Math.*;
|
||||
import static java.lang.Math.abs;
|
||||
|
||||
public class C {{
|
||||
abs(1.0);
|
||||
max(1, 2);
|
||||
}}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Add on demand static import for 'java.lang.Math'" "true"
|
||||
package test;
|
||||
|
||||
import static java.lang.Math.abs;
|
||||
|
||||
public class C {{
|
||||
abs(1.0);
|
||||
<caret>Math.max(1, 2);
|
||||
}}
|
||||
Reference in New Issue
Block a user