Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 93 for getParent (0.05 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        logger.debug("Deleted thumbnail file: {}", path);
                    }
    
                    Path parent = path.getParent();
                    while (deleteEmptyDirectory(parent)) {
                        parent = parent.getParent();
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to delete thumbnail file: {}", path, e);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.writeString(pom, POM_STRING);
            Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java");
            Files.createDirectories(appJava.getParent());
            Files.writeString(appJava, APP_JAVA_STRING);
    
            if (MimirInfuser.isMimirPresentUW()) {
                MimirInfuser.doInfuseUW(userHome);
                MimirInfuser.preseedItselfIntoInnerUserHome(userHome);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            return new File(artifact.getFile().getParentFile(), sb.toString());
        }
    
        File getTouchfile(RepositoryMetadata metadata, File file) {
            return new File(file.getParent(), TOUCHFILE_NAME);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                if (dirManager != null && smbFile.getContext().getConfig().isUseDirectoryLeasing()) {
                    // Check parent directory cache first
                    String parentPath = smbFile.getParent();
                    if (parentPath != null) {
                        var parentCache = dirManager.getCacheEntry(parentPath);
                        if (parentCache != null && parentCache.isComplete()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testGetParent() {
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("smb://server/share/dir/", a.getParent());
    
            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("smb://server/", b.getParent());
        }
    
        @Test
        @DisplayName("Canonical and UNC paths are computed and stable")
        void testCanonicalAndUNCPaths() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

            project.getPlugins().apply(LicensingPlugin.class);
            String buildTaskName = calculateBuildTask(project.getName());
            TaskProvider<Task> buildDistTask = project.getParent().getTasks().named(buildTaskName);
            DistributionArchiveCheckExtension distributionArchiveCheckExtension = project.getExtensions()
                .create("distributionArchiveCheck", DistributionArchiveCheckExtension.class);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        ClassLoader myLoader = getClass().getClassLoader();
        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            Path pom = determinePom(context, lookup);
            if (pom != null) {
                request.setPom(pom.toFile());
                if (pom.getParent() != null) {
                    request.setBaseDirectory(pom.getParent().toFile());
                }
    
                // project present, but we could not determine rootDirectory: extra work needed
                if (context.invokerRequest.rootDirectory().isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. 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()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
Back to Top