mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WEB-313 HTML Code Style - insert new line berfore bug
This commit is contained in:
@@ -139,7 +139,7 @@ public class CodeStyleHtmlPanel extends CodeStyleAbstractPanel {
|
||||
}
|
||||
|
||||
private ArrayList<String> createCollectionOn(final String data) {
|
||||
if (data == null) {
|
||||
if (data == null || data.trim().isEmpty()) {
|
||||
return new ArrayList<String>();
|
||||
}
|
||||
return new ArrayList<String>(Arrays.asList(data.split(",")));
|
||||
|
||||
Reference in New Issue
Block a user