mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
[java-inspections] More tests for preview
GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bbb218a972
commit
dd689d3a39
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (a)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
/*the comment inside redundant parenthesis*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (b)" "true"
|
||||
// "Extract if (b)" "true-preview"
|
||||
class MyTest {
|
||||
|
||||
void foo(boolean a, boolean b, boolean c, boolean d) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
/*2*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c, boolean d){
|
||||
if (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c, boolean d){
|
||||
if (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a && b)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a && b) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a || b) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a || (b/*the comment inside redundant parenthesis*/)) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (b)" "true"
|
||||
// "Extract if (b)" "true-preview"
|
||||
class MyTest {
|
||||
|
||||
void foo(boolean a, boolean b, boolean c, boolean d) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a && b)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c, boolean d){
|
||||
if (<caret>a && b)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class Test {
|
||||
void f(boolean a, boolean b, boolean c, boolean d){
|
||||
if (<caret>a && b)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Extract if (a)" "true"
|
||||
// "Extract if (a)" "true-preview"
|
||||
class TestThreadInspection {
|
||||
void f(boolean a, boolean b, boolean c){
|
||||
if (<caret>a && b) {
|
||||
|
||||
Reference in New Issue
Block a user