Skip to content

Commit

Permalink
refactor: use lombok getter for name #2712 (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayl83 authored Feb 29, 2024
1 parent 84bb965 commit 4fd2f60
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public abstract class BaseGenerator implements Generator {
private static final String GIT_REMOTE = "origin";

private final GeneratorContext context;

@Getter
private final String name;
private final GeneratorConfig config;
protected final PrefixedLogger log;
Expand Down Expand Up @@ -103,9 +105,6 @@ protected JavaProject getProject() {
return context.getProject();
}

public String getName() {
return name;
}

public GeneratorContext getContext() {
return context;
Expand Down

0 comments on commit 4fd2f60

Please sign in to comment.