Skip to content

Commit ecc80da

Browse files
committed
style(core): simplify post-processor
1 parent 7d09633 commit ecc80da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playtime-core/src/main/java/com/github/imdmk/playtime/core/PlayTimeCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ final class PlayTimeCore {
4545

4646
ComponentManager componentManager = new ComponentManager(injector, BASE_PACKAGE)
4747
.addProcessors(ComponentProcessors.defaults(plugin))
48-
.addPostProcessor(((instance, context) -> this.publisher.subscribe(instance)));
48+
.addPostProcessor((instance, context) -> this.publisher.subscribe(instance));
4949

5050
componentManager.scanAll();
5151
componentManager.processAll();

0 commit comments

Comments
 (0)