equal
deleted
inserted
replaced
87 Set<String> actual = |
87 Set<String> actual = |
88 new BufferedReader( |
88 new BufferedReader( |
89 new InputStreamReader( |
89 new InputStreamReader( |
90 new ByteArrayInputStream(bytes), StandardCharsets.UTF_8)) |
90 new ByteArrayInputStream(bytes), StandardCharsets.UTF_8)) |
91 .lines() |
91 .lines() |
|
92 .filter(line -> !line.endsWith(":")) |
92 .map(line -> line.split(" +")) |
93 .map(line -> line.split(" +")) |
93 .map(array -> array[1]) |
94 .map(array -> array[1]) |
94 .collect(Collectors.toSet()); |
95 .collect(Collectors.toSet()); |
95 System.out.println("actual = " + actual); |
96 System.out.println("actual = " + actual); |
96 |
97 |