Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDirectory (0.23 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
      @AndroidIncompatible // Path (for symlink creation)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top