- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 267 for toFile (0.05 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
assertNull(result); } @Test void testGetByNameWithValidEntry() throws IOException { // Create a temporary lmhosts file File lmhostsFile = tempDir.resolve("lmhosts").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 TESTHOST\n"); writer.write("10.0.0.1 SERVER01\n"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
} } request.setInstallationToolchainsFile( installationToolchainsFile != null ? installationToolchainsFile.toFile() : null); request.setUserToolchainsFile(userToolchainsFile != null ? userToolchainsFile.toFile() : null); ToolchainsBuilderRequest toolchainsRequest = ToolchainsBuilderRequest.builder() .session(context.protoSession)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
} } } private fun createWorkspace(): Workspace { val bndDir = workspaceDir / "cnf" val repoDir = bndDir / "repo" fileSystem.createDirectories(repoDir) return Workspace(workspaceDir.toFile(), bndDir.name) .apply { setProperty( "${Constants.PLUGIN}.$REPO_NAME", LocalIndexedRepo::class.java.getName() + "; ${LocalIndexedRepo.PROP_NAME} = '$REPO_NAME'" +Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
} }); t.transform(project, systemSessionMock, Sources.buildSource(beforePomFile), tempFile); } Diff diff = DiffBuilder.compare(afterPomFile.toFile()) .withTest(tempFile.toFile()) .ignoreComments() .ignoreWhitespace() .build(); assertFalse(diff.hasDifferences(), "XML files should be identical: " + diff.toString()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
ProjectBuildingResult result1 = projectBuilder.build(child1Pom.toFile(), sharedRequest); MavenProject child1Project = result1.getProject(); // Capture repositories after building child1 // Build child2 using the same shared request ProjectBuildingResult result2 = projectBuilder.build(child2Pom.toFile(), sharedRequest); MavenProject child2Project = result2.getProject();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
final File file = new File("Program Files/hoge.txt"); final URL url = file.toURI().toURL(); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url)); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt"))); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
context.installationSettingsPath != null ? context.installationSettingsPath.toFile() : null); request.setProjectSettingsFile( context.projectSettingsPath != null ? context.projectSettingsPath.toFile() : null); request.setUserSettingsFile(context.userSettingsPath != null ? context.userSettingsPath.toFile() : null); request.setTopDirectory(context.invokerRequest.topDirectory());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
getContainer().lookup(org.apache.maven.project.ProjectBuilder.class); File child = new File(tempDir.toFile(), "child/pom.xml"); // build project once projectBuilder.build(child, configuration); // modify parent File parent = new File(tempDir.toFile(), "pom.xml"); String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
// drive-relative Windows path return file.getAbsoluteFile(); } else { return Paths.get(baseDirectory, file.getPath()).normalize().toFile(); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05"))) .isEqualTo(new File("/c:\\Documents ~ Settings, or not\\11-12 12:05")); assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation"))) .isEqualTo(new File("/C:\\Program Files\\Apache Software Foundation/"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0)