mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 19:29:30 +07:00
RemoveRedundantArgument tests fix
This commit is contained in:
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user