diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 73d56db..b2167c9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -9,6 +9,6 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/src/main/java/com/coditory/quark/config/Config.java b/src/main/java/com/coditory/quark/config/Config.java index 859a1a0..9173bfa 100644 --- a/src/main/java/com/coditory/quark/config/Config.java +++ b/src/main/java/com/coditory/quark/config/Config.java @@ -88,14 +88,14 @@ default AuditableConfig auditable() { return AuditableConfig.of(this); } - default T mapAuditable(@NotNull Function configMapper) { + default T mapAuditable(@NotNull Function configMapper) { AuditableConfig auditableConfig = AuditableConfig.of(this); T result = configMapper.apply(auditableConfig); auditableConfig.failOnUnusedProperties(); return result; } - default void consumeAuditable(@NotNull Consumer configConsumer) { + default void consumeAuditable(@NotNull Consumer configConsumer) { AuditableConfig auditableConfig = AuditableConfig.of(this); configConsumer.accept(auditableConfig); auditableConfig.failOnUnusedProperties();