8201498: test/langtools/tools/javac/diags/CheckExamples.java 6 errors occurred
Remove duplicate class names in diagnostic examples. Reviewed-by: jlahoda
This commit is contained in:
parent
0b6fbf50d2
commit
19581edca2
@ -31,7 +31,7 @@ import java.util.ArrayList;
|
||||
|
||||
class PreviewPlural {
|
||||
void test() {
|
||||
new Bar();
|
||||
new PreviewPluralBar();
|
||||
new ArrayList<>();
|
||||
}
|
||||
}
|
||||
|
@ -23,6 +23,6 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
class Bar {
|
||||
class PreviewPluralBar {
|
||||
Runnable r = () -> {};
|
||||
}
|
@ -30,9 +30,9 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
class PreviewPlural {
|
||||
class PreviewPluralAdditional {
|
||||
void test() {
|
||||
new Bar();
|
||||
new PreviewPluralAdditionalBar();
|
||||
new ArrayList<>();
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
class Bar {
|
||||
class PreviewPluralAdditionalBar {
|
||||
Runnable r = () -> {};
|
||||
void test() {
|
||||
new ArrayList<>();
|
Loading…
Reference in New Issue
Block a user