Skip to content

Indentation does not work when generating rejections #43

Open
@alexander-yevsyukov

Description

@alexander-yevsyukov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions