private static boolean isValidClassPathEntry(File file) {
    if (file.isFile()) {
      final String name = file.getName();
      return StringUtilRt.endsWithIgnoreCase(name, ".jar") || StringUtilRt.endsWithIgnoreCase(name, ".zip");
    }
    return true;
  }
private static boolean isValidClassPathEntry(File file)