diff --git a/src/main/java/fr/jcgay/maven/profiler/ProfilerEventSpy.java b/src/main/java/fr/jcgay/maven/profiler/ProfilerEventSpy.java index 2912e48..d44e138 100644 --- a/src/main/java/fr/jcgay/maven/profiler/ProfilerEventSpy.java +++ b/src/main/java/fr/jcgay/maven/profiler/ProfilerEventSpy.java @@ -51,7 +51,9 @@ public class ProfilerEventSpy extends AbstractEventSpy { public ProfilerEventSpy() { this.statisticsSupplier = Statistics::new; + this.statistics = statisticsSupplier.get(); this.configurationSupplier = Configuration::read; + this.configuration = configurationSupplier.get(); this.now = Date::new; }