mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
GenericsUtil#simplifyExtendsFinalClass (IDEA-24201)
GitOrigin-RevId: 758c1e9c3be3c016093d84bf0617ef0b030161b1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
14fa0849cd
commit
2d1a6a067b
@@ -0,0 +1,13 @@
|
||||
// "Create method 'getPreloadKeys'" "true"
|
||||
import java.util.*;
|
||||
|
||||
class X {
|
||||
void test() {
|
||||
Set<String> keys = new HashSet<String>();
|
||||
keys.addAll(getPreloadKeys());
|
||||
}
|
||||
|
||||
private Collection<String> getPreloadKeys() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Create method 'getPreloadKeys'" "true"
|
||||
import java.util.*;
|
||||
|
||||
class X {
|
||||
void test() {
|
||||
Set<String> keys = new HashSet<String>();
|
||||
keys.addAll(<caret>getPreloadKeys());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user