mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Removed unnecessary new lines in generated setter/getter
This commit is contained in:
@@ -235,7 +235,6 @@ class GenerateSettersAndGettersAction : BaseCodeAction() {
|
||||
val imports = mutableSetOf<String>()
|
||||
var text = "\n" + print(builder.build(), imports)
|
||||
text = text.replace("\n", "\n${EditHelper.repeatSpaces(indent)}")
|
||||
text = "$text\n"
|
||||
|
||||
return text
|
||||
}
|
||||
@@ -252,7 +251,6 @@ class GenerateSettersAndGettersAction : BaseCodeAction() {
|
||||
val imports = mutableSetOf<String>()
|
||||
var text = "\n" + print(builder.build(), imports)
|
||||
text = text.replace("\n", "\n${EditHelper.repeatSpaces(indent)}")
|
||||
text = "$text\n"
|
||||
|
||||
return text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user