提交 edbe461d 编写于 作者: S serge-rider

#3468 Single line comments formatting fix (LF before comment)


Former-commit-id: 95d85644
上级 458aedae
......@@ -229,10 +229,8 @@ public class SQLFormatterTokenized implements SQLFormatter {
}
break;
case "VALUES": //$NON-NLS-1$
indent--;
index += insertReturnAndIndent(argList, index, indent);
break;
case "END": //$NON-NLS-1$
case "LIMIT": //$NON-NLS-1$
indent--;
index += insertReturnAndIndent(argList, index, indent);
break;
......@@ -279,6 +277,7 @@ public class SQLFormatterTokenized implements SQLFormatter {
if (slComments != null) {
for (String slc : slComments) {
if (token.getString().startsWith(slc)) {
index += insertReturnAndIndent(argList, index, indent);
isComment = true;
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册