File tree 2 files changed +4
-4
lines changed
plugin/src/main/groovy/org/bot4j/telegram/message
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ public HtmlBuilder tag(String... tags) {
320
320
if (Array4j .isEmpty (tags )) {
321
321
return this ;
322
322
}
323
- Arrays .stream (tags ).toList (). forEach (e -> {
323
+ Arrays .stream (tags ).forEach (e -> {
324
324
message .append (Ascii .Punctuation .NUMBER_SIGN )
325
325
.append (e )
326
326
.append (Ascii .Punctuation .SPACE );
@@ -333,7 +333,7 @@ public HtmlBuilder commercialAt(String... values) {
333
333
if (Array4j .isEmpty (values )) {
334
334
return this ;
335
335
}
336
- Arrays .stream (values ).toList (). forEach (e -> {
336
+ Arrays .stream (values ).forEach (e -> {
337
337
message .append (Ascii .Punctuation .COMMERCIAL_AT )
338
338
.append (e )
339
339
.append (Ascii .Punctuation .SPACE );
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ public MarkdownBuilder tag(String... tags) {
247
247
if (Array4j .isEmpty (tags )) {
248
248
return this ;
249
249
}
250
- Arrays .stream (tags ).toList (). forEach (e -> {
250
+ Arrays .stream (tags ).forEach (e -> {
251
251
message .append (Ascii .Punctuation .NUMBER_SIGN )
252
252
.append (e )
253
253
.append (Ascii .Punctuation .SPACE );
@@ -260,7 +260,7 @@ public MarkdownBuilder commercialAt(String... values) {
260
260
if (Array4j .isEmpty (values )) {
261
261
return this ;
262
262
}
263
- Arrays .stream (values ).toList (). forEach (e -> {
263
+ Arrays .stream (values ).forEach (e -> {
264
264
message .append (Ascii .Punctuation .COMMERCIAL_AT )
265
265
.append (e )
266
266
.append (Ascii .Punctuation .SPACE );
You can’t perform that action at this time.
0 commit comments