Deleting unused test utility methods
public static boolean isInDevMode() {
return DEV_MODE_CHECKS.stream().map(Supplier::get).reduce(Boolean::logicalOr).orElse(false);
}
-
- public static boolean isInDevMode(String nameOfRequiredResource) {
- return isInDevMode(DevMode.class, nameOfRequiredResource);
- }
-
- public static boolean isInDevMode(Class<?> resourceLoaderClazz, String nameOfRequiredResource) {
- return resourceLoaderClazz.getResource(nameOfRequiredResource) == null &&
- resourceLoaderClazz.getResource("/" + nameOfRequiredResource) == null;
- }
}
