- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 58 for setParent (0.05 seconds)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(root.getParent()).isNull(); assertThat(root.toRealPath().getParent()).isNull(); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertThat(path.getParent()).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
MavenProject project0 = getProjectWithDependencies(pom0); MavenProject project1 = getProjectWithDependencies(pom1); assertNotNull(project1.getParent(), "Parent is null"); assertEquals(pom0Basedir, project1.getParent().getBasedir()); Map map = project1.getArtifactMap(); assertNotNull(map, "No artifacts"); assertFalse(map.isEmpty(), "No Artifacts");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
Files.createDirectories(path.getParent()); Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING); } else if ("css".equals(names[0])) { names[0] = themeName; final Path path = ResourceUtil.getCssPath(names); Files.createDirectories(path.getParent());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/file.txt").getParent()); // Test parent of a directory assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/dir/").getParent()); // Test parent of a share assertEquals("smb1://server/", new SmbFile("smb1://server/share/").getParent()); // Test parent of a server
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java
String groupId = model.getGroupId(); if (groupId == null && model.getParent() != null) { groupId = model.getParent().getGroupId(); } String artifactId = model.getArtifactId(); String version = model.getVersion(); if (version == null && model.getParent() != null) { version = model.getParent().getVersion(); } if (version == null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(root.getParent()).isNull(); assertThat(root.toRealPath().getParent()).isNull(); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertThat(path.getParent()).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load everything... MavenProject project1 = getProjectWithDependencies(pom1); assertEquals(pom0Basedir, project1.getParent().getBasedir()); System.out.println("Project " + project1.getId() + " " + project1); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
* * The wrapper maintains its own parameter map which can be initialized separately from the wrapped factory, * and provides access to the wrapped factory instance through getParent(). * * All crawler client management operations (adding, getting clients, setting client map) are delegated * to the wrapped factory instance. *
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 5.2K bytes - Click Count (10) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
/** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.6K bytes - Click Count (0)