- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for deleteIfExists (0.23 sec)
-
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
return Optional.of(Files.readAllBytes(tempPath)); } return Optional.empty(); } finally { if (tempPath != null) { Files.deleteIfExists(tempPath); } } } catch (IOException e) { throw new UncheckedIOException(e); } } @Override
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
return Optional.of(Files.readAllBytes(tempPath)); } return Optional.empty(); } finally { if (tempPath != null) { Files.deleteIfExists(tempPath); } } } catch (IOException e) { throw new UncheckedIOException(e); } } @Override
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Apr 01 15:17:46 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
} } else { entry.currentEditor = null for (t in 0 until valueCount) { fileSystem.deleteIfExists(entry.cleanFiles[t]) fileSystem.deleteIfExists(entry.dirtyFiles[t]) } i.remove() } } } /** * Creates a new journal that omits redundant information. This replaces the current journal if it * exists. */
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.7K bytes - Viewed (0) -
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) -
maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile); assertEquals(1, mavenProject.getAttachedArtifacts().size()); } finally { Files.deleteIfExists(artifactFile.toPath()); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
@Override public void removeResumptionData(MavenProject rootProject) { Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME); try { Files.deleteIfExists(resumeProperties); } catch (IOException e) { LOGGER.warn("Could not delete {} file. ", RESUME_PROPERTIES_FILENAME, e); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 4.9K bytes - Viewed (0)