mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +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 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
boolean b = o instanceof Integer;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
boolean b = o instanceof Integer i;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
switch (o) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
boolean b = o instanceof int<caret>;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
boolean b = o instanceof int<caret> i;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
class Test {
|
||||
void foo(Object o) {
|
||||
switch (o) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true"
|
||||
// "Replace 'int' with 'java.lang.Integer'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
Reference in New Issue
Block a user