mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-26 16:31:26 +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 with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable r = () -> System.out.println(""//todo comment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Comparable<String> c = (o) -> 0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
|
||||
import java.io.File;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> foo();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> System.out.println();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> System.out.println();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
a(() -> new Object(){});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable r = () -> <caret>{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Comparable<String> c = (o) -> {r<caret>eturn 0;};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
|
||||
import java.io.File;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> <caret>{foo();};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> <caret>{System.out.println();};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> <caret>{{System.out.println();}};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with expression lambda" "true"
|
||||
// "Replace with expression lambda" "true-preview"
|
||||
class Test {
|
||||
{
|
||||
a(() -> {
|
||||
|
||||
Reference in New Issue
Block a user