Remove variable -> Remove local variable

GitOrigin-RevId: 3d20d29f9b7e2f0a3a989991af2788572449b0de
This commit is contained in:
Tagir Valeev
2020-01-22 11:12:48 +07:00
committed by intellij-monorepo-bot
parent dbc4ff53e2
commit 6e8742ed2a
59 changed files with 59 additions and 59 deletions

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'c'" "true"
// "Remove local variable 'c'" "true"
class C {
String s;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'n'" "true"
// "Remove local variable 'n'" "true"
class C {
void foo(Object o) {
if (o instanceof Integer) {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'foo'" "true"
// "Remove local variable 'foo'" "true"
class a {
private int refactorTest(int i) {
int bar = 0;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
void test(String s) {
foo(1);

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import org.jetbrains.annotations.Contract;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
int test(String s) {
return switch(s) {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
void test(String s) {
switch(s) {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o1'" "true"
// "Remove local variable 'o1'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'o'" "true"
// "Remove local variable 'o'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "false"
// "Remove local variable 'i'" "false"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'oo'" "true"
// "Remove local variable 'oo'" "true"
import java.io.*;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'c'" "true"
// "Remove local variable 'c'" "true"
class C {
String s;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'n'" "true"
// "Remove local variable 'n'" "true"
class C {
void foo(Object o) {
if (o instanceof Integer) {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo = null;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'problematic'" "true"
// "Remove local variable 'problematic'" "true"
class C {
Object foo() {return null;}

View File

@@ -1,4 +1,4 @@
// "Remove variable 'foo'" "true"
// "Remove local variable 'foo'" "true"
class a {
private int refactorTest(int i) {
int f<caret>oo = 0;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
void test(String s) {
int <caret>i;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
import org.jetbrains.annotations.Contract;
class a {

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
int test(String s) {
int <caret>i;

View File

@@ -1,4 +1,4 @@
// "Remove variable 'i'" "true"
// "Remove local variable 'i'" "true"
public class Main {
void test(String s) {
int <caret>i;