mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
[java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e74564a52c
commit
7e1064ea3c
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
int f = 0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
// Create default runnable
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
int f = 9;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Test {
|
||||
String myField = "foo";
|
||||
private String value = myField.trim();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Foo {
|
||||
|
||||
protected boolean isString[] = new boolean[123];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
//comment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
String e, //comment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i = 1;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class X {
|
||||
int i = 0;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i = 1;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i = 1;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
int f;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
Object f;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
int f;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Test {
|
||||
String myField = "foo";
|
||||
private String value;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Foo {
|
||||
|
||||
protected boolean isString[] ;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
String ff;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
|
||||
class X {
|
||||
String e, ff;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class X {
|
||||
int i;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Move assignment to field declaration" "true"
|
||||
// "Move assignment to field declaration" "true-preview"
|
||||
public class Main {
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user