Skip to content

Commit 999400d

Browse files
author
Alvin Reyes
committed
Modified the version to use SNAPSHOT
Change from Behavior to Behaviour
1 parent c350beb commit 999400d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>co.aurasphere.botmill</groupId>
55
<artifactId>botmill-core</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.0.0-SNAPSHOT</version>
77
<name>BotMill Core</name>
88
<description>Shared library for the BotMill framework.</description>
99

src/main/java/co/aurasphere/botmill/common/BotDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ public interface BotDefinition {
3535
/**
3636
* Method used for the configuration of the bot.
3737
*/
38-
public void defineBehavior();
38+
void defineBehaviour();
3939

4040
}

src/main/java/co/aurasphere/botmill/common/internal/util/ReflectionUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static void loadBotDefinitions() {
5555
Reflections ref = new Reflections();
5656
Set<Class<? extends BotDefinition>> botDefinitions = ref
5757
.getSubTypesOf(BotDefinition.class);
58+
5859
if (botDefinitions.isEmpty()) {
5960
logger.warn("No bot definition found on the classpath. Make sure to have at least one class implementing the BotDefinition interface.");
6061
}
@@ -69,7 +70,7 @@ public static void loadBotDefinitions() {
6970

7071
try {
7172
BotDefinition instance = defClass.newInstance();
72-
instance.defineBehavior();
73+
instance.defineBehaviour();
7374
} catch (ClassCastException e) {
7475
logger.error(
7576
"Class [{}] does not implement co.aurasphere.botmill.common.BotDefinition.",

0 commit comments

Comments
 (0)