Skip to content

Commit d6a33f8

Browse files
添加jar包
1 parent 2abf7eb commit d6a33f8

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

seat/seat.jar

29 Bytes
Binary file not shown.

seat/src/action/SettingAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public boolean canClose(String s) {
6363
ScheduledExecutorService service = Executors
6464
.newSingleThreadScheduledExecutor();
6565
AtomicInteger count = new AtomicInteger();
66-
// 第二个参数为首次执行的延时时间,第三个参数为定时执行的间隔时间
6766
service.scheduleAtFixedRate(() -> {
6867
if (QueryListener.flag) {
6968
QueryListener.flag = false;

seat/src/action/StopAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import com.intellij.openapi.actionSystem.AnAction;
44
import com.intellij.openapi.actionSystem.AnActionEvent;
55
import com.intellij.openapi.ui.Messages;
6+
import compontent.QueryListener;
67
import constant.Constant;
78
import service.ScheduledService;
89

@@ -16,7 +17,7 @@ public void actionPerformed(AnActionEvent e) {
1617
ScheduledService.getInstance().removeTask();
1718
flag = true;
1819
}
19-
20+
SettingAction.isStart = false;
2021
Messages.showDialog(flag ? Constant.Stop.SUCCESS_TEXT : Constant.Stop.FAIL_TEXT, Constant.Stop.TITLE,
2122
new String[]{"确定"}, 0,
2223
Messages.getInformationIcon());

seat/src/constant/Constant.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ public static class Settings {
2121
*/
2222
public static final String SETTING_TIME_SELECTOR_TEXT = "请选择提醒周期(单位:分钟):";
2323

24-
/**
25-
* 初始化模型的可选数组
26-
*/
27-
public static final String[] MODEL_SELECT_ARRAY = new String[]{"CXK", "锦鲤杨超越", "奥利给", "超励志奥利给"};
28-
2924
/**
3025
* 初始化时间的可选数组
3126
*/

0 commit comments

Comments
 (0)