@Test void testPrintBanner() { assertDoesNotThrow(() -> AppUtils.printBanner("Trellis Application", "org/trellisldp/app/banner.txt")); }
public static void printBanner(final String name, final String resource) { final String banner = readResource(Thread.currentThread().getContextClassLoader() .getResourceAsStream(requireNonNull(resource, "resource cannot be null!"))); LOGGER.info("Starting {}\n{}", name, banner); }
AppUtils { public static void printBanner(final String name, final String resource) { final String banner = readResource(Thread.currentThread().getContextClassLoader() .getResourceAsStream(requireNonNull(resource, "resource cannot be null!"))); LOGGER.info("Starting {}\n{}", name, banner); } }
AppUtils { public static void printBanner(final String name, final String resource) { final String banner = readResource(Thread.currentThread().getContextClassLoader() .getResourceAsStream(requireNonNull(resource, "resource cannot be null!"))); LOGGER.info("Starting {}\n{}", name, banner); } private  AppUtils(); }
AppUtils { public static void printBanner(final String name, final String resource) { final String banner = readResource(Thread.currentThread().getContextClassLoader() .getResourceAsStream(requireNonNull(resource, "resource cannot be null!"))); LOGGER.info("Starting {}\n{}", name, banner); } private  AppUtils(); static void printBanner(final String name, final String resource); }
AppUtils { public static void printBanner(final String name, final String resource) { final String banner = readResource(Thread.currentThread().getContextClassLoader() .getResourceAsStream(requireNonNull(resource, "resource cannot be null!"))); LOGGER.info("Starting {}\n{}", name, banner); } private  AppUtils(); static void printBanner(final String name, final String resource);  }