Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for setParent (0.13 sec)

  1. 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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            }
            return element
        }
    
        protected Element createNode(Object name, Object value) {
            return createNode(name, [:], value)
        }
    
        protected void setParent(Object parent, Object child) {
            parent.appendChild(child)
        }
    
        def appendChild(Node node) {
            if (!current) {
                elements << (Element) document.importNode(node, true)
            } else  {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    # need to clarify for shard
    for p in result._elem.xpath(".//error | .//failure"):
      key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
      p.text = runfiles_matcher.sub("[testroot]/", p.text)
      source_file = p.getparent().getparent().get("source_file", "")
      p.text += f"\nNOTE: From {source_file}"
      if "bazel_pip" in source_file:
        p.text += (
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top