mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java inspection: convert the intention for "Make Type Generic" into an INFORMATION-level inspection (IDEA-157727)
This commit is contained in:
-10
@@ -1,10 +0,0 @@
|
||||
// "Change type of TT to java.util.Comparator<java.lang.String>" "true"
|
||||
import java.util.*;
|
||||
class CCCC {
|
||||
private final static Comparator<String> <caret>TT = new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
// "Change type of TT to java.util.Comparator<java.lang.String>" "true"
|
||||
import java.util.*;
|
||||
class CCCC {
|
||||
private final static Comparator <caret>TT = new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
// "Change type of TTT to java.util.Comparator" "false"
|
||||
import java.util.*;
|
||||
class CCCC implements Comparator {
|
||||
private final static Comparator <caret>TTT = new CCCC();
|
||||
@Override
|
||||
public int compare(Object o1, Object o2) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user