mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
fix testdata
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace anonymous class with constructor accepting lambda" "true"
|
||||
// "Replace with constructor accepting lambda" "true"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
// Comment outside
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace anonymous class with ThreadLocal.withInitial" "true"
|
||||
// "Replace with ThreadLocal.withInitial" "true"
|
||||
public class Main {
|
||||
// comment
|
||||
ThreadLocal<? extends CharSequence> tlr = ThreadLocal.withInitial(() -> "initial");
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace anonymous class with constructor accepting lambda" "true"
|
||||
// "Replace with constructor accepting lambda" "true"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
new <caret>Thread() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace anonymous class with ThreadLocal.withInitial" "true"
|
||||
// "Replace with ThreadLocal.withInitial" "true"
|
||||
public class Main {
|
||||
ThreadLocal<? extends CharSequence> tlr = new Th<caret>readLocal<String>() {
|
||||
// comment
|
||||
|
||||
Reference in New Issue
Block a user