remove redundant type args: get rid of 2 different fixes

This commit is contained in:
Anna.Kozlova
2018-03-09 18:44:26 +01:00
parent 5cf3e46d8a
commit acfb22157b
22 changed files with 22 additions and 51 deletions
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.List;
class Collectors {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.*;
class Foo {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.List;
class Collectors {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments of method reference" "true"
// "Remove type arguments" "true"
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.function.Function;
public class TestClassRenamed {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
class Collectors {
{
Integer.getInteger("");
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.function.Function;
class MyTest {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.List;
class Collectors {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.Collections;
import java.util.List;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.*;
class Foo {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.List;
class Collectors {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "false"
// "Remove type arguments" "false"
import java.util.List;
class Collectors {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments of method reference" "true"
// "Remove type arguments" "true"
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "false"
// "Remove type arguments" "false"
import java.util.Map.Entry;
import java.util.stream.Collectors;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.function.Function;
public class TestClassRenamed {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "false"
// "Remove type arguments" "false"
import java.util.*;
import java.util.function.Function;
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
class Collectors {
{
Integer.<Str<caret>ing>getInteger("");
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "true"
// "Remove type arguments" "true"
import java.util.function.Function;
class MyTest {
@@ -1,4 +1,4 @@
// "Remove explicit type arguments" "false"
// "Remove type arguments" "false"
class Test {
public void valueOfPasses() {