Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 89 for setParent (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                boolean isAdded = projectsIncludingParents.add(project);
                MavenProject parent = project.getParent();
                while (isAdded && parent != null) {
                    isAdded = projectsIncludingParents.add(parent);
                    parent = parent.getParent();
                }
            }
    
            final Stream<String> projectProfiles = projectsIncludingParents.stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  2. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                            rootDirectory);
                    LOGGER.info(
                            "The reactor is limited to all projects under: {}",
                            request.getPom().getParent());
                    return request.getPom();
                }
    
                return rootProjectPom.toFile();
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertEquals(attrs, it.getSearchAttributes());
            assertEquals(wildcard, it.getWildcard());
            assertSame(parent, it.getParent());
            verify(tree, times(1)).acquire();
        }
    
        @Test
        @DisplayName("Constructor with open() returning null closes immediately and hasNext=false")
        void constructorOpenNullCloses() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            }
        }
    
        @Nested
        class WhenHandlingPaths {
    
            @Test
            void testGetParent() {
                // Act & Assert
                assertEquals("smb://localhost/share/", smbFile.getParent());
            }
    
            @Test
            void testGetCanonicalPath() {
                // Act & Assert
                assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

        return files;
    }
    
    @Override
    public boolean exists() throws IOException {
        if (isDirectory() && directoryLeaseManager != null) {
            // Check parent directory cache first
            String parentPath = getParent();
            DirectoryCacheEntry parentCache = directoryLeaseManager.getCacheEntry(parentPath);
            
            if (parentCache != null && parentCache.isComplete()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            Path correctParentPath = findParentPomInMap(context, parentGroupId, parentArtifactId, parentVersion, pomMap);
            if (correctParentPath != null) {
                try {
                    Path correctRelativePath = pomPath.getParent().relativize(correctParentPath);
                    String correctRelativePathStr = correctRelativePath.toString().replace('\\', '/');
    
                    if (!correctRelativePathStr.equals(currentRelativePath)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         *         <code>smb://</code> if the resource refers to the root of the URL
         *         hierarchy which incidentally is also <code>smb://</code>.
         */
        public String getParent() {
            return this.fileLocator.getParent();
        }
    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactlyElementsIn(locations);
      }
    
      public void testLocationEquals() {
        ClassLoader child = getClass().getClassLoader();
        ClassLoader parent = child.getParent();
        new EqualsTester()
            .addEqualityGroup(
                new ClassPath.LocationInfo(new File("foo.jar"), child),
                new ClassPath.LocationInfo(new File("foo.jar"), child))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            if (subprojectElements.isEmpty()) {
                return true; // Empty list is redundant
            }
    
            // Get the directory containing this POM
            Path parentDir = pomPath.getParent();
            if (parentDir == null) {
                return false;
            }
    
            // Get declared subprojects
            Set<String> declaredSubprojects = subprojectElements.stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            throw new IllegalArgumentException("Directory " + topDirectory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
Back to top