Skip to content

Commit fa52d0f

Browse files
committed
suppress PMD excessive method length in AlterExpression
1 parent 4e8eee9 commit fa52d0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/sf/jsqlparser/statement/alter/AlterExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,8 @@ protected void toStringPartition(StringBuilder b) {
10721072
* Handles the general case for ADD, MODIFY, CHANGE, DROP (column), COMMENT, row-level security,
10731073
* and all field-based dispatch (columns, constraints, FK, UK, PK, index).
10741074
*/
1075-
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity"})
1075+
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity",
1076+
"PMD.ExcessiveMethodLength"})
10761077
protected void toStringGeneral(StringBuilder b) {
10771078
if (operation == AlterOperation.COMMENT_WITH_EQUAL_SIGN) {
10781079
b.append("COMMENT =").append(" ");

0 commit comments

Comments
 (0)