diff --git a/bot-context/pom.xml b/bot-context/pom.xml
index 34d02fa..ca43f67 100644
--- a/bot-context/pom.xml
+++ b/bot-context/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.godfather
godfather-bot
- 0.0.10
+ 0.0.11
bot-context
diff --git a/bot-context/src/main/java/dev/struchkov/godfather/context/domain/UnitDefinition.java b/bot-context/src/main/java/dev/struchkov/godfather/context/domain/UnitDefinition.java
index e933d3d..a361bbc 100644
--- a/bot-context/src/main/java/dev/struchkov/godfather/context/domain/UnitDefinition.java
+++ b/bot-context/src/main/java/dev/struchkov/godfather/context/domain/UnitDefinition.java
@@ -12,7 +12,6 @@ public class UnitDefinition {
private String name;
private Object objectConfig;
private Method method;
- private boolean lazy;
public String getName() {
return name;
@@ -66,12 +65,4 @@ public class UnitDefinition {
this.dependentUnits.addAll(dependentUnitNames);
}
- public boolean isLazy() {
- return lazy;
- }
-
- public void setLazy(boolean lazy) {
- this.lazy = lazy;
- }
-
}
diff --git a/bot-context/src/main/java/dev/struchkov/godfather/context/domain/annotation/Unit.java b/bot-context/src/main/java/dev/struchkov/godfather/context/domain/annotation/Unit.java
index 06dcc80..3a1143b 100644
--- a/bot-context/src/main/java/dev/struchkov/godfather/context/domain/annotation/Unit.java
+++ b/bot-context/src/main/java/dev/struchkov/godfather/context/domain/annotation/Unit.java
@@ -13,8 +13,6 @@ public @interface Unit {
String value() default "";
- boolean lazy() default false;
-
boolean mainUnit() default false;
}
diff --git a/bot-core/pom.xml b/bot-core/pom.xml
index 4e919e4..6cb70bb 100644
--- a/bot-core/pom.xml
+++ b/bot-core/pom.xml
@@ -6,7 +6,7 @@
dev.struchkov.godfather
godfather-bot
- 0.0.10
+ 0.0.11
bot-core
diff --git a/bot-core/src/main/java/dev/struchkov/godfather/core/StorylineMaker.java b/bot-core/src/main/java/dev/struchkov/godfather/core/StorylineMaker.java
index d35afb8..b0b59ef 100644
--- a/bot-core/src/main/java/dev/struchkov/godfather/core/StorylineMaker.java
+++ b/bot-core/src/main/java/dev/struchkov/godfather/core/StorylineMaker.java
@@ -31,7 +31,6 @@ public class StorylineMaker {
private final Map unitDefinitions = new HashMap<>();
private final Map unitMap = new HashMap<>();
- private final Set lazyUnits = new HashSet<>();
private final Set mainUnits = new HashSet<>();
public StorylineMaker(List