mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
try to make quick fix name more clear
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "true"
|
||||
// "Replace with new Thread() with lambda argument" "true"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
// Comment outside
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with ThreadLocal.withInitial" "true"
|
||||
// "Replace with ThreadLocal.withInitial()" "true"
|
||||
public class Main {
|
||||
// comment
|
||||
ThreadLocal<? extends CharSequence> tlr = ThreadLocal.withInitial(() -> "initial");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "true"
|
||||
// "Replace with new Thread() with lambda argument" "true"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
new <caret>Thread() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "false"
|
||||
// "Replace with new Thread() with lambda argument" "false"
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "false"
|
||||
// "Replace with new Thread() with lambda argument" "false"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
new <caret>Thread() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with ThreadLocal.withInitial" "true"
|
||||
// "Replace with ThreadLocal.withInitial()" "true"
|
||||
public class Main {
|
||||
ThreadLocal<? extends CharSequence> tlr = new Th<caret>readLocal<String>() {
|
||||
// comment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "false"
|
||||
// "Replace with new Thread() with lambda argument" "false"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
new <caret>Thread() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace with constructor accepting lambda" "false"
|
||||
// "Replace with new Thread() with lambda argument" "false"
|
||||
public class Main {
|
||||
public void testThread() {
|
||||
new <caret>Thread() {
|
||||
|
||||
Reference in New Issue
Block a user