RemoveRedundantArgument tests fix

This commit is contained in:
Danila Ponomarenko
2012-05-12 21:07:25 +04:00
parent 9c14796fcb
commit b77df01a2c
6 changed files with 6 additions and 6 deletions
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, Integer)'" "true"
// "Remove redundant arguments to call 'method(int, Integer)'" "true"
class A {
public A() {
method(new Integer(5), 5);
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, T)'" "true"
// "Remove redundant arguments to call 'method(int, T)'" "true"
class A {
public A() {
method(5, new Exception());
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, String)'" "true"
// "Remove redundant arguments to call 'method(int, String)'" "true"
class A {
public A() {
method(5, "");
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, Integer)'" "true"
// "Remove redundant arguments to call 'method(int, Integer)'" "true"
class A {
public A() {
method(new Integer(5), 5,<caret> "", new String());
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, T)'" "true"
// "Remove redundant arguments to call 'method(int, T)'" "true"
class A {
public A() {
method(5,<caret> new Exception(), new Exception(), "", 3);
@@ -1,4 +1,4 @@
// "Remove redundant arguments to match 'method(int, String)'" "true"
// "Remove redundant arguments to call 'method(int, String)'" "true"
class A {
public A() {
method(5, "",<caret> 10);