Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteIfExists (0.21 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

              new SimpleFileVisitor<Path>() {
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
                    throws IOException {
                  Files.deleteIfExists(file);
                  return FileVisitResult.CONTINUE;
                }
    
                @Override
                public FileVisitResult postVisitDirectory(Path dir, IOException exc)
                    throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

                Pac pac = pacData.getPac();
                PacLogonInfo li = pac.getLogonInfo();
                Assert.assertEquals("test1", li.getUserName());
            } finally {
                Files.deleteIfExists(p);
                Files.deleteIfExists(krbConfig);
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
Back to top