- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for setParent (0.11 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
return md; } public void setMd(ArtifactMetadata md) { this.md = md; } public MetadataTreeNode getParent() { return parent; } public void setParent(MetadataTreeNode parent) { this.parent = parent; } public MetadataTreeNode[] getChildren() { return children; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
String groupId = m.getGroupId(); if (groupId == null && m.getParent() != null) { groupId = m.getParent().getGroupId(); } String version = m.getVersion(); if (version == null && m.getParent() != null) { version = m.getParent().getVersion(); } return new RelativeProject(groupId, m.getArtifactId(), version); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertNull(root.getParent()); assertNull(root.toRealPath().getParent()); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertNull(path.getParent()); assertNotNull(path.toAbsolutePath().getParent());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (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"); assertTrue(map.size() > 0, "No Artifacts");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
if (POM_PACKAGING.equals(packaging)) { // raw to consumer transform model = model.withRoot(false).withModules(null).withSubprojects(null); if (model.getParent() != null) { model = model.withParent(model.getParent().withRelativePath(null)); } if (!model.isPreserveModelVersion()) { model = model.withPreserveModelVersion(false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
.filter(Objects::nonNull) .findFirst() .orElseGet(() -> modelLocator.locatePom(projectDirectory)); if (!pom.equals(projectDirectory) && !pom.getParent().equals(projectDirectory)) { throw new IllegalArgumentException("The POM found does not belong to the given directory: " + pom); } return pom; } @Deprecated @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.5K bytes - Viewed (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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey()); assertEquals("123.123.123.123", ftpInfo.getHost()); assertEquals(9999, ftpInfo.getPort()); assertEquals("/", ftpInfo.getParent()); assertNull(ftpInfo.getName()); value = "ftp://123.123.123.123/test.txt"; ftpInfo = new FtpClient.FtpInfo(value); assertEquals(value, ftpInfo.toUrl());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (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());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertNull(root.getParent()); assertNull(root.toRealPath().getParent()); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertNull(path.getParent()); assertNotNull(path.toAbsolutePath().getParent());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0)