Поправил таймер, удалил викторину
This commit is contained in:
parent
6834aa2801
commit
b4baee35f0
@ -4,6 +4,8 @@ import java.util.Objects;
|
|||||||
|
|
||||||
public abstract class Content {
|
public abstract class Content {
|
||||||
|
|
||||||
|
public static final EmptyContent EMPTY_CONTENT = new EmptyContent();
|
||||||
|
|
||||||
private Integer personId;
|
private Integer personId;
|
||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
|
18
src/main/java/org/sadtech/bot/core/domain/EmptyContent.java
Normal file
18
src/main/java/org/sadtech/bot/core/domain/EmptyContent.java
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
package org.sadtech.bot.core.domain;
|
||||||
|
|
||||||
|
public class EmptyContent extends Content {
|
||||||
|
|
||||||
|
public EmptyContent() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getMessage() {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setMessage(String message) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user