Skip to content

Remove duplicated line separators and trailing whitespace across Java codebase - #280

Closed
mercyblitz with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-duplicated-line-separators-again
Closed

mercyblitz with Copilot wants to merge 2 commits into
mainfrom
copilot/remove-duplicated-line-separators-again

Conversation

Copilot AI commented May 29, 2026

Copy link
Copy Markdown
Contributor

Improves code consistency and reduces diff noise by consolidating excessive blank lines and removing trailing whitespace from source files.

Changes:

  • Consolidates 3+ consecutive blank lines to single blank lines
  • Strips trailing whitespace from all lines
  • Removes trailing blank lines at end of files
  • Ensures proper file endings with newlines

Example:

Before:

public class A {

    public void action() {
    }


    public void action2() {
    }

}

After:

public class A {

    public void action() {
    }

    public void action2() {
    }
}

Scope: Applied to 103 Java source files plus configuration files across the codebase.

Copilot AI changed the title Remove blank lines before closing braces Remove duplicated line separators and trailing whitespace across Java codebase May 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

@mercyblitz
mercyblitz marked this pull request as ready for review May 29, 2026 15:47
@mercyblitz mercyblitz closed this May 29, 2026
@mercyblitz
mercyblitz deleted the copilot/remove-duplicated-line-separators-again branch June 4, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants