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

Indentation does not work when generating rejections #43

Open
alexander-yevsyukov opened this issue Aug 26, 2022 · 0 comments
Open

Indentation does not work when generating rejections #43

alexander-yevsyukov opened this issue Aug 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alexander-yevsyukov
Copy link
Contributor

The code generated for rejections does not indent nested code. For example:

public class CannotModifyDeletedEntity extends RejectionThrowable {
private static final long serialVersionUID = 0L;

And in the same class:

@Override
public StandardRejections.CannotModifyDeletedEntity messageThrown() {
return (StandardRejections.CannotModifyDeletedEntity) super.messageThrown();
}

Particularly in this class, we should indent the generated code by four spaces, as we do in the handwritten one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant