mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
join declaration and assignment (IDEA-92226; IDEA-123689)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String ss = "hello";
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String ss = "hello", a = "";
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String ss = "hello" + "world";
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String s<caret>s = "";
|
||||
ss = "hello";
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Join declaration and assignment" "false"
|
||||
class Test {
|
||||
{
|
||||
String s<caret>s = "";
|
||||
System.out.println(ss);
|
||||
ss = "hello";
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String s<caret>s = "", a = "";
|
||||
ss = "hello";
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Join declaration and assignment" "true"
|
||||
class Test {
|
||||
{
|
||||
String ss = "hello";
|
||||
ss +<caret>= "world";
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Join declaration and assignment" "false"
|
||||
class Test {
|
||||
{
|
||||
String ss = "hello";
|
||||
ss +<caret>= ss;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user