Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
准备部署1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed May 21, 2020
1 parent a15b0ce commit 148067c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<artifactId>simple-robot-core</artifactId>

<!-- 版本号 -->
<!-- 下次部署需要大于1.13.0 2020/5/1 记得修改CoreSystem的版本号 -->
<version>1.13.0</version>
<!-- 下次部署需要大于1.13.1 2020/5/21 记得修改CoreSystem的版本号 -->
<version>1.13.1</version>

<packaging>jar</packaging>
<name>simple-robot</name>
Expand Down
13 changes: 11 additions & 2 deletions src/main/java/com/forte/qqrobot/SimpleRobotContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import com.forte.qqrobot.sender.senderlist.SenderSendList;
import com.forte.qqrobot.sender.senderlist.SenderSetList;

import java.io.Closeable;
import java.io.IOException;

/**
*
* <pre> SimpleRobotContext, 在启动器执行run方法后所得到的结果
Expand All @@ -19,15 +22,16 @@
* <li>默认的三大送信器</li>
* </ul>
*
* 1.13.1开始实现{@link Closeable}接口
*
* @author ForteScarlet <[email]ForteScarlet@163.com>
* @since JDK1.8a
* @since JDK1.8
**/
public class SimpleRobotContext<
SEND extends SenderSendList,
SET extends SenderSetList,
GET extends SenderGetList
> {
> implements Closeable {

//**************** 三大送信器 ****************//

Expand Down Expand Up @@ -106,4 +110,9 @@ public DependCenter getDependCenter(){
return dependCenter;
}

/**
* closeable
*/
@Override
public void close() throws IOException { }
}
1 change: 1 addition & 0 deletions update.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- `IOUtils`替换为`hutool-core`
- `ListenerManager`中尝试使用新的紧凑map
- 修复`botManager`中可能会导致无法获取info的情况
- `SimpleRobotContext`实现`Closeable`接口

# 1.13.0
- 变更监听消息拦截器的加载机制
Expand Down

0 comments on commit 148067c

Please sign in to comment.