mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
IDEA-216120: fixes after review
GitOrigin-RevId: 44435772a108dc0a9edad4e56a00a27cc2f91efc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
68df252efd
commit
455a130ac2
@@ -1,4 +1,4 @@
|
||||
// "Replace array initializer with its element" "true"
|
||||
// "Unwrap '"blah"'" "true"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Unwrap '"blah"'" "true"
|
||||
class X {
|
||||
@interface MyAnnotation {
|
||||
String value() default /*1*/ /*2*/ "blah";
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace array initializer with its element" "true"
|
||||
// "Unwrap '"blah"'" "true"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace array initializer with its element" "false"
|
||||
// "Unwrap '"one"'" "false"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Unwrap '"blah"'" "true"
|
||||
class X {
|
||||
@interface MyAnnotation {
|
||||
String value() default {/*1*/"blah"/*2*/}<caret>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Unwrap '"one"'" "false"
|
||||
class X {
|
||||
@interface MyAnnotation {
|
||||
String value() default {"one", "two"}<caret>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Unwrap '"blah"'" "false"
|
||||
class X {
|
||||
@interface MyAnnotation {
|
||||
int value() default {"blah"}<caret>;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// "Replace array initializer with its element" "false"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = {}<caret>)
|
||||
void foo() {}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Unwrap '"blah"'" "false"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
int value();
|
||||
}
|
||||
|
||||
@MyAnnotation(value = {"blah"}<caret>)
|
||||
void foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user