Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 108 for toPatch (0.1 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            this.buildNumber = buildNumber;
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new RemoteSnapshotMetadata(metadata, file.toPath(), timestamp, buildNumber);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new RemoteSnapshotMetadata(metadata, path, timestamp, buildNumber);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

    import okhttp3.internal.http2.Http2Connection.Companion.OKHTTP_CLIENT_WINDOW_SIZE
    import okhttp3.testing.PlatformRule
    import okio.BufferedSource
    import okio.IOException
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import okio.use
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            }
        }
    
        @Test
        public void testFileBasedCacheClose() throws IOException {
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
            Files.write(tempFile.toPath(), "Hello, World!".getBytes());
            assertTrue(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Close should delete the file
            cache.close();
    
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

                int lineNumber,
                int columnNumber,
                Exception exception) {
            this(
                    message,
                    severity,
                    version,
                    ModelProblemUtils.toPath(source),
                    lineNumber,
                    columnNumber,
                    ModelProblemUtils.toId(source),
                    exception);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            if (!baseDir.exists()) {
                return 0;
            }
            try {
                final FilePurgeVisitor visitor = new FilePurgeVisitor(baseDir.toPath(), imageExtention, expiry);
                Files.walkFileTree(baseDir.toPath(), visitor);
                return visitor.getCount();
            } catch (final Exception e) {
                throw new JobProcessingException(e);
            }
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

                @Override
                public Object getValue(String expression) {
                    if ("project.rootDirectory".equals(expression)) {
                        Path base = basedir != null ? basedir.toPath() : null;
                        Path root = rootLocator.findMandatoryRoot(base);
                        return root.toFile().getAbsolutePath();
                    }
                    return null;
                }
            });
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

        @SuppressWarnings("checkstyle:UnusedLocalVariable")
        void testAptConsistency() throws Exception {
            File apt = getTestFile("src/site/apt/artifact-handlers.apt");
    
            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

        @Override
        public PersistedToolchains read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = Files.newInputStream(input.toPath())) {
                InputSource source = InputSource.of(input.toString());
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            if (rootModel == null) {
                rootModel = source;
            }
        }
    
        private String getSource() {
            if (source == null && sourceModel != null) {
                source = ModelProblemUtils.toPath(sourceModel);
            }
            return source;
        }
    
        private String getModelId() {
            return ModelProblemUtils.toId(sourceModel);
        }
    
        public void setRootModel(Model rootModel) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top