Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
suppress PMD excessive method length in AlterExpression
  • Loading branch information
dengliming committed Mar 13, 2026
commit fa52d0f5463a35ad3d6886fdc63147a324601838
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ protected void toStringPartition(StringBuilder b) {
* Handles the general case for ADD, MODIFY, CHANGE, DROP (column), COMMENT, row-level security,
* and all field-based dispatch (columns, constraints, FK, UK, PK, index).
*/
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity"})
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity",
"PMD.ExcessiveMethodLength"})
protected void toStringGeneral(StringBuilder b) {
if (operation == AlterOperation.COMMENT_WITH_EQUAL_SIGN) {
b.append("COMMENT =").append(" ");
Expand Down