Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for downgrades (0.15 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            "ReadWriteC -> ReadWriteA",
            "ReadWriteB -> ReadWriteC",
            "ReadWriteA -> ReadWriteB");
      }
    
      public void testWriteToReadLockDowngrading() {
        writeLockA.lock(); // writeLockA downgrades to readLockA
        readLockA.lock();
        writeLockA.unlock();
    
        lockB.lock(); // readLockA -> lockB
        readLockA.unlock();
    
        // lockB -> writeLockA should fail
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            "ReadWriteC -> ReadWriteA",
            "ReadWriteB -> ReadWriteC",
            "ReadWriteA -> ReadWriteB");
      }
    
      public void testWriteToReadLockDowngrading() {
        writeLockA.lock(); // writeLockA downgrades to readLockA
        readLockA.lock();
        writeLockA.unlock();
    
        lockB.lock(); // readLockA -> lockB
        readLockA.unlock();
    
        // lockB -> writeLockA should fail
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                return false;
            }
            return true;
        }
    
        /**
         * Validates if the canonical URL is valid relative to the original URL.
         * Specifically checks for HTTPS to HTTP downgrades.
         *
         * @param url the original URL
         * @param canonicalUrl the canonical URL to validate
         * @return true if the canonical URL is valid, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertEquals("package", packageExecution.child("phase").orElse(null).textContent());
            }
        }
    
        @Nested
        @DisplayName("Downgrade Handling")
        class DowngradeHandlingTests {
    
            @Test
            @DisplayName("should fail with error when attempting downgrade from 4.1.0 to 4.0.0")
            void shouldFailWhenAttemptingDowngrade() throws Exception {
                String pomXml = """
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      fun wrongConnectionHeader() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(101)
            .setHeader("Upgrade", "websocket")
            .setHeader("Connection", "Downgrade")
            .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")
            .build(),
        )
        webServer.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseSocket())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            }
            return model;
        }
    
        private static void warnNotDowngraded(MavenProject project) {
            LOGGER.warn("The consumer POM for " + project.getId() + " cannot be downgraded to 4.0.0. "
                    + "If you intent your build to be consumed with Maven 3 projects, you need to remove "
                    + "the features that request a newer model version.  If you're fine with having the "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

            sslSocket.enabledProtocols.intersect(tlsVersionsAsString, naturalOrder())
          } else {
            sslSocket.enabledProtocols
          }
    
        // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSV
        // cipher is added to signal that a protocol fallback has taken place.
        val supportedCipherSuites = sslSocket.supportedCipherSuites
        val indexOfFallbackScsv =
          supportedCipherSuites.indexOf(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            @ParameterizedTest(name = "from {0} to {1}")
            @MethodSource("provideInvalidPathUpgradeVersions")
            @DisplayName("should reject downgrade")
            void shouldRejectDowngrade(String from, String to) {
                assertFalse(ModelVersionUtils.canUpgrade(from, to));
            }
    
            private static Stream<Arguments> provideInvalidPathUpgradeVersions() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

        private ReferrerPolicyValues() {}
    
        public static final String NO_REFERRER = "no-referrer";
        public static final String NO_REFFERER_WHEN_DOWNGRADE = "no-referrer-when-downgrade";
        public static final String SAME_ORIGIN = "same-origin";
        public static final String ORIGIN = "origin";
        public static final String STRICT_ORIGIN = "strict-origin";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
Back to Top