From c0c1a75a4f2653fb13eaae64edf051a981001011 Mon Sep 17 00:00:00 2001 From: PukPukov Date: Sun, 10 Dec 2023 23:52:00 +0500 Subject: [PATCH] Initial value to MutSub --- src/main/java/ru/ancap/commons/instructor/common/MutSub.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/ru/ancap/commons/instructor/common/MutSub.java b/src/main/java/ru/ancap/commons/instructor/common/MutSub.java index f4d62f3..73b568c 100644 --- a/src/main/java/ru/ancap/commons/instructor/common/MutSub.java +++ b/src/main/java/ru/ancap/commons/instructor/common/MutSub.java @@ -1,11 +1,14 @@ package ru.ancap.commons.instructor.common; +import lombok.AllArgsConstructor; +import lombok.NoArgsConstructor; import ru.ancap.commons.instructor.EventBus; import ru.ancap.commons.instructor.SimpleEventBus; /** * Subscribe to field mutation. */ +@NoArgsConstructor @AllArgsConstructor public class MutSub { public final EventBus onChange = new SimpleEventBus<>();