1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.whitespace.separatorwrap;
9
10 import java.util.Arrays;
11
12 public class InputSeparatorWrapWithEmoji {
13 protected String[] s1 = new String[
14 ] {"aabπ", "aπaπba"};
15
16 protected String[] s2 = new String[
17 ] {"π₯³", "π ", "π¨"};
18
19 public void test1(String...
20 parameters) {
21 }
22
23 public void test2(String
24 ...parameters) {
25 String s = "ffffooooString";
26 s.
27 isEmpty();
28 try {
29 test2("2", s);
30 } catch (Exception e) {}
31
32 test1("1"
33 ,s);
34
35 }
36 void goodCase() {
37 String[] stringArray =
38 {
39 "π", "ππ", "QWERTY", "π§π»", "John",
40 };
41 Arrays.sort(stringArray, String::
42 compareToIgnoreCase);
43 }
44 }