Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2151 - 2160 of 4,265 for Avoid (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

    /**
     *
     */
    class RequirementMatcherFactoryTest {
    
        /**
         * Test of createExactMatcher method, of class RequirementMatcherFactory.
         */
        @Test
        void testCreateExactMatcher() {
            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createExactMatcher("foo");
            assertFalse(matcher.matches("bar"));
            assertFalse(matcher.matches("foobar"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
            updateLogging(context);
        }
    
        @Override
        public void updateLogging(LookupContext context) {
            plexusContainer.getLoggerManager().setThresholds(toPlexusLoggingLevel(context.loggerLevel));
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

        } else {
          return null;
        }
      }
    
      @Override
      public void put(Range<K> range, V value) {
        if (!range.isEmpty()) {
          checkNotNull(value);
          remove(range);
          entriesByLowerBound.put(range.lowerBound, new RangeMapEntry<K, V>(range, value));
        }
      }
    
      @Override
      public void putCoalescing(Range<K> range, V value) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapToStringTester<K, V> extends AbstractMapTester<K, V> {
      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            void recordFailure() {
                failedAttempts.incrementAndGet();
                lastAttempt = Instant.now();
            }
    
            void reset() {
                failedAttempts.set(0);
                lockedOut.set(false);
                lockoutExpiry = null;
            }
    
            void lockOut(Duration duration) {
                lockedOut.set(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @BeforeEach
        void setUp() {
            message = new TestNtlmMessage();
        }
    
        @Test
        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
            assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly.");
        }
    
        @Test
        void testGetFlag() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/logging/ProjectBuildLogAppender.java

                MDC.remove(KEY_PROJECT_ID);
            }
        }
    
        public static void setForkingProjectId(String forkingProjectId) {
            if (forkingProjectId != null) {
                FORKING_PROJECT_ID.set(forkingProjectId);
            } else {
                FORKING_PROJECT_ID.remove();
            }
        }
    
        public static void updateMdc() {
            String id = getProjectId();
            if (id != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/sql/StatementUtil.java

         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @param fetchSize
         *            Fetch size.
         * @see Statement#setFetchSize(int)
         */
        public static void setFetchSize(final Statement statement, final int fetchSize) {
            assertArgumentNotNull("statement", statement);
    
            try {
                statement.setFetchSize(fetchSize);
            } catch (final SQLException ex) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            @Override
            int readDataWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
            response = new TestableSmbComNtTransactionResponse();
        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * MNG-3131
     *
     *
     */
    class PluginParameterExceptionTest {
    
        private static final String LS = System.lineSeparator();
    
        @Test
        void testMissingRequiredStringArrayTypeParameter() {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setGoal("goal");
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top