mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
preserve comments when remove redundant type arguments
This commit is contained in:
@@ -4,7 +4,8 @@ import java.util.List;
|
||||
class Collectors {
|
||||
public static void foo(List<String> list) {}
|
||||
{
|
||||
foo(Collectors.of());
|
||||
//c1
|
||||
foo(Collectors.of());
|
||||
}
|
||||
|
||||
public static <E> List<E> of() {
|
||||
|
||||
@@ -4,7 +4,8 @@ import java.util.List;
|
||||
class Collectors {
|
||||
public static void foo(List<String> list) {}
|
||||
{
|
||||
foo(Collectors.<Str<caret>ing>of());
|
||||
foo(Collectors.<Str<caret>ing//c1
|
||||
>of());
|
||||
}
|
||||
|
||||
public static <E> List<E> of() {
|
||||
|
||||
Reference in New Issue
Block a user