Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank line is added at end of enclosing class if it contains nested or anonymous class #46

Closed
Marcono1234 opened this issue Nov 16, 2019 · 0 comments

Comments

@Marcono1234
Copy link
Contributor

Marcono1234 commented Nov 16, 2019

CFR version

0.149-SNAPSHOT (commit bfb754c)

Description

When a class contains at least one nested class or an anonymous class a blank line is added at the end.

Example code

import java.io.StringWriter;

public class AnonymousClassTest {
    private StringWriter writer = new StringWriter() { };
    private int otherField = 1;
    // Blank line will be here
}
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

No branches or pull requests

1 participant