Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 213 for getPaths (0.06 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
            FileUtils.fileWrite(file.getPath(), encoding, contents);
    
            markForDeletion(file);
    
            return file;
        }
    
        public String getFileContents(File file, String encoding) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

        @Test
        public void testHandleInfoCreation() {
            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey);
    
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(testGuid, info.getCreateGuid());
            assertArrayEquals(testFileId, info.getFileId());
            assertEquals(HandleType.DURABLE_V2, info.getType());
            assertEquals(120000, info.getTimeout());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        @Override
        public File getFile() {
            return null;
        }
    
        @Override
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata repositoryMetadata) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/storage/StorageItem.java

         * @return the item name
         */
        public String getName() {
            return name;
        }
    
        /**
         * Returns the path of the item.
         *
         * @return the item path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Returns whether this item is a directory.
         *
         * @return true if this item is a directory, false otherwise
         */
        public boolean isDirectory() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
            Path mavenHome = fs.getPath("C:\\maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

      outputs.files(file(checkstyleIdeConfig))
    
      doLast {
        // Create an IDE-specific checkstyle config by first copying the standard config
        Files.copy(
          Paths.get(file(checkstyleConfig).getPath()),
          Paths.get(file(checkstyleIdeConfig).getPath()),
          StandardCopyOption.REPLACE_EXISTING
        )
    
        // There are some rules that we only want to enable in an IDE. These
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Handler.java

            } else if (!spec.startsWith("smb://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                    String msg = "dependency collection step for " + stepData.getContext();
                    if (detailed) {
                        msg += ". Path to offending node from root:\n";
                        msg += stepData.getPath().stream()
                                .map(n -> " -> " + n.toString())
                                .collect(Collectors.joining("\n"));
                        msg += "\n => " + stepData.getNode();
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

                validateNonNull("scm", model.getScm(), () -> validateString("scm.url", model.getScm().getUrl()));
            }
            if (foundError) {
                throw new GradleException("Check failed for task '" + getPath() + "', see console log for details");
            }
        }
    
        private void logError(String element, String message) {
            foundError = true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            final CIFSContext tc = parent.getContext();
            final URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) {
                throw new SmbException(u.toString() + " directory must end with '/'");
            }
    
            if (locator.getType() != SmbConstants.TYPE_SERVER) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top