Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 182 for isfile (0.04 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    File file = ResolveFile.resolveFile(new File(jar), cliRequest.workingDirectory);
    
                    slf4jLogger.debug("  included '{}'", file);
    
                    jars.add(file);
                }
            }
    
            return jars;
        }
    
        //
        // This should probably be a separate tool and not be baked into Maven.
        //
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

         *             If the file cannot be accessed or created.
         */
        public DynamicProperties(final Path path) {
            this(path == null ? null : path.toFile());
        }
    
        /**
         * Constructs a {@code DynamicProperties} instance with the specified {@link File}.
         *
         * @param file
         *            The {@link File} representing the properties file. If {@code null}, a {@link FileAccessException} is thrown.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (path == null) {
                logger.warn("OSDD file path could not be resolved: {}", osddPath);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("OSDD path is not a file: {}", path);
                return null;
            }
            return osddFile;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            e);
                }
    
                if (file.isFile()) {
                    try {
                        fixTimestamp(file, readMetadata(file), repositoryMetadata.getMetadata());
                    } catch (RepositoryMetadataReadException e) {
                        // will be reported via storeInlocalRepository
                    }
                }
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

            else if (reactorDirectory != null) {
                File selectedProject =
                        new File(new File(reactorDirectory, selector).toURI().normalize());
    
                if (selectedProject.isFile()) {
                    return selectedProject.equals(project.getFile());
                } else if (selectedProject.isDirectory()) {
                    return selectedProject.equals(project.getBasedir());
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

                    } else if (entry.getName().equals("real-folder/file")) {
                        assertTrue(entry.isFile());
                        fileEntry = true;
                    } else if (entry.getName().equals("real-folder/link-to-file")) {
                        assertTrue(entry.isSymbolicLink());
                        assertThat(entry.getLinkName(), anyOf(equalTo("./file"), equalTo(".\\file")));
                        linkToFileEntry = true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  7. build-logic/src/main/kotlin/BndBuildAction.kt

    import java.io.File
    import java.util.Properties
    import java.util.jar.Manifest
    import java.util.zip.ZipFile
    import org.gradle.api.Action
    import org.gradle.api.GradleException
    import org.gradle.api.Task
    import org.gradle.api.file.ConfigurableFileCollection
    import org.gradle.api.file.FileCollection
    import org.gradle.api.file.ProjectLayout
    import org.gradle.api.file.RegularFileProperty
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile file = new SmbFile(baseUrl + "shared/zerobyte_" + timestamp + ".txt", context);
    
            // Create empty file
            file.createNewFile();
    
            // Verify properties
            assertTrue(file.exists(), "Empty file should exist");
            assertEquals(0, file.length(), "Empty file should have zero length");
            assertTrue(file.isFile(), "Should be identified as file");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            }
        }
    
        private
        fun assertLeftoverFilesCleanedUpEventually(vararg leftoverFiles: String) {
            leftoverFiles.forEach {
                assertTrue(projectDir.resolve(it).walk().filter { it.isFile }.toList().isEmpty())
            }
        }
    
        @Test
        fun `fail build if leftover file found and test passes`() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbFile = mock(SmbFile.class);
            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top