@Test void uncheckedLinesTest() { final File file = new File(getClass().getResource("/users.auth").getFile()); assertEquals(5L, BasicAuthUtils.uncheckedLines(file.toPath()).count()); }
public static Stream<String> uncheckedLines(final Path path) { try { return Files.lines(path); } catch (final IOException ex) { LOGGER.error("Error processing credentials file", ex); } return Stream.empty(); }
BasicAuthUtils { public static Stream<String> uncheckedLines(final Path path) { try { return Files.lines(path); } catch (final IOException ex) { LOGGER.error("Error processing credentials file", ex); } return Stream.empty(); } }
BasicAuthUtils { public static Stream<String> uncheckedLines(final Path path) { try { return Files.lines(path); } catch (final IOException ex) { LOGGER.error("Error processing credentials file", ex); } return Stream.empty(); } private  BasicAuthUtils(); }
BasicAuthUtils { public static Stream<String> uncheckedLines(final Path path) { try { return Files.lines(path); } catch (final IOException ex) { LOGGER.error("Error processing credentials file", ex); } return Stream.empty(); } private  BasicAuthUtils(); static Stream<String> uncheckedLines(final Path path); }
BasicAuthUtils { public static Stream<String> uncheckedLines(final Path path) { try { return Files.lines(path); } catch (final IOException ex) { LOGGER.error("Error processing credentials file", ex); } return Stream.empty(); } private  BasicAuthUtils(); static Stream<String> uncheckedLines(final Path path);  }