Skip to content

Commit

Permalink
refactor: move @Getter annotation to class level in Config enum BaseE…
Browse files Browse the repository at this point in the history
…nricherTest (3384)

refactor: Move @Getter annotation to class level in Config enum

- Removed @Getter annotations from fields key and defaultValue.
- Added @Getter annotation at the class level to generate getters for all fields.
- Ensured BaseEnricherTest passes after the changes.
  • Loading branch information
fr35wo authored Sep 16, 2024
1 parent 7504b9b commit 8e95c4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ class BaseEnricherTest {

private static class TestEnricher extends BaseEnricher {
@AllArgsConstructor
@Getter
public enum Config implements Configs.Config {
TEST_PROPERTY("testProperty", null);
@Getter

private final String key;
@Getter
private final String defaultValue;
}
public TestEnricher(EnricherContext enricherContext) {
Expand Down

0 comments on commit 8e95c4c

Please sign in to comment.