langtools/test/tools/jdeprscan/tests/jdk/jdeprscan/TestScan.java
changeset 41863 98b049c8b848
parent 41439 ee4857e4fa85
child 41933 8114041bc6b0
equal deleted inserted replaced
41862:471a0cb1b986 41863:98b049c8b848
    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