Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 108 for toPatch (0.05 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                if (!temp.renameTo(destination)) {
                    try {
                        Files.copy(
                                temp.toPath(),
                                destination.toPath(),
                                StandardCopyOption.REPLACE_EXISTING,
                                StandardCopyOption.COPY_ATTRIBUTES);
    
                        if (!temp.delete()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
            InOrder inOrder = inOrder(logger);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotNull("fileToCheck", fileToCheck);
            assertArgumentNotNull("baseDirectory", baseDirectory);
    
            return isPathSafe(fileToCheck.toPath(), baseDirectory.toPath());
        }
    
        /**
         * Returns the canonical path string for this abstract pathname.
         *
         * @param file the file (must not be {@literal null})
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

                metadata.setVersioning(recessive.getVersioning());
            }
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new PluginsMetadata(pluginInfo, path, timestamp);
        }
    
        @Override
        public String getGroupId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    class IdnaMappingTableTest {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE
    import okhttp3.internal.toCanonicalHost
    import okhttp3.okHttpRoot
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    
    @RunWith(PublicSuffixTestRunner::class)
    class PublicSuffixDatabaseTest {
      private val publicSuffixDatabase = PublicSuffixDatabase.get()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top