mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: clearer name for inspection and quick-fix
GitOrigin-RevId: 0ee29991b00d4ac8341c031a4a111b23bb44b800
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6082a8c4eb
commit
b4544c7a42
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Outer {
|
||||
|
||||
void test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
|
||||
int getFoo1() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
|
||||
private Runnable r = () -> {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Field can be local' problems in file" "false"
|
||||
// "Fix all 'Field can be local variable' problems in file" "false"
|
||||
class Outer {
|
||||
|
||||
void test(Inner inner) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Outer {
|
||||
|
||||
void test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
private int my<caret>Foo;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Field can be local' problems in file" "false"
|
||||
// "Fix all 'Field can be local variable' problems in file" "false"
|
||||
class MyClassTest {
|
||||
|
||||
private boolean edit<caret>able = false;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
|
||||
private String <caret>field;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Field can be local' problems in file" "false"
|
||||
// "Fix all 'Field can be local variable' problems in file" "false"
|
||||
class TestFieldConversion
|
||||
{
|
||||
private static int som<caret>eInt = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Outer {
|
||||
|
||||
void test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
|
||||
int getFoo1() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true-preview"
|
||||
// "Convert to local variable" "true-preview"
|
||||
class Test {
|
||||
|
||||
private Runnable r = () -> {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
public Temp() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
public boolean flag;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
/**
|
||||
*
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int k) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
public Temp(int <caret>p) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
public boolean flag;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
/**
|
||||
* @param x
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "false"
|
||||
// "Convert to local variable" "false"
|
||||
class A {
|
||||
void foo(int <caret>i) {
|
||||
i = 3;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void test(int <caret>p) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int <caret>x) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to local" "true"
|
||||
// "Convert to local variable" "true"
|
||||
class Temp {
|
||||
|
||||
void foo(int <caret>x, int k) {
|
||||
|
||||
@@ -398,7 +398,7 @@ inspection.conditional.break.in.infinite.loop.description=Conditional break insi
|
||||
inspection.conditional.break.in.infinite.loop.no.conversion.with.do.while=Don't suggest to replace with 'do while'
|
||||
inspection.conditional.break.in.infinite.loop.allow.condition.fusion=Allow merging with existing loop condition
|
||||
inspection.conditional.break.in.infinite.loop.suggest.conversion.when.if.is.single.stmt.in.loop=Suggest conversion when 'if' is a single statement in loop
|
||||
inspection.convert.to.local.quickfix=Convert to local
|
||||
inspection.convert.to.local.quickfix=Convert to local variable
|
||||
inspection.data.flow.display.name=Nullability and data flow problems
|
||||
inspection.data.flow.optional.of.nullable.misuse.display.name=Use of Optional.ofNullable with null or not-null argument
|
||||
inspection.data.flow.constant.values.display.name=Constant values
|
||||
@@ -460,7 +460,7 @@ inspection.export.results.implicit.constructor=implicit constructor of
|
||||
inspection.export.results.overrides.library.methods=Overrides library methods
|
||||
inspection.export.results.package=package
|
||||
inspection.export.results.type.references=The following uses this type
|
||||
inspection.field.can.be.local.display.name=Field can be local
|
||||
inspection.field.can.be.local.display.name=Field can be local variable
|
||||
inspection.field.can.be.local.problem.descriptor=Field can be converted to a local variable
|
||||
inspection.field.can.be.local.quickfix.constructor=Convert field to local variable in constructor
|
||||
inspection.field.can.be.local.quickfix.initializer=Convert field to local variable in initializer section
|
||||
|
||||
Reference in New Issue
Block a user