File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bolt-socket-mode/src/test/java/samples Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88import com .slack .api .model .event .AppMentionEvent ;
99import com .slack .api .model .event .MessageEvent ;
1010
11+ import java .util .Arrays ;
1112import java .util .Collections ;
12- import java .util .List ;
1313
1414public class AssistantSimpleApp {
1515
@@ -58,7 +58,7 @@ public static void main(String[] args) throws Exception {
5858 try {
5959 ctx .setStatus ("is downloading the files..." );
6060 Thread .sleep (500L );
61- ctx .setStatus ("is analyzing the files..." , List . of ("Reading bytes..." , "Confirming hashes..." ));
61+ ctx .setStatus ("is analyzing the files..." , Arrays . asList ("Reading bytes..." , "Confirming hashes..." ));
6262 Thread .sleep (500L );
6363 ctx .say ("Your files do not have any issues!" );
6464 } catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ import com.slack.api.model.assistant.SuggestedPrompt;
216216import com.slack.api.model.event.AppMentionEvent ;
217217import com.slack.api.model.event.MessageEvent ;
218218
219+ import java.util.Arrays ;
219220import java.util.Collections ;
220- import java.util.List ;
221221
222222public class AssistantSimpleApp {
223223
@@ -266,7 +266,7 @@ public class AssistantSimpleApp {
266266 try {
267267 ctx. setStatus(" is downloading the files..." );
268268 Thread . sleep(500L );
269- ctx. setStatus(" is analyzing the files..." , List . of (" Reading bytes..." , " Confirming hashes..." ));
269+ ctx. setStatus(" is analyzing the files..." , Arrays . asList (" Reading bytes..." , " Confirming hashes..." ));
270270 Thread . sleep(500L );
271271 ctx. say(" Your files do not have any issues!" );
272272 } catch (Exception e) {
You can’t perform that action at this time.
0 commit comments