Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2551 - 2560 of 4,407 for Avoid (0.1 sec)

  1. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *
         * @param rootDir the root directory (must not be {@literal null})
         * @param handler the handler to process resources (must not be {@literal null})
         */
        public static void forEach(final File rootDir, final ResourceHandler handler) {
            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            forEach(rootDir, null, handler);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      protected final void expectAdded(E... elements) {
        List<E> expected = copyToList(getSampleElements());
        expected.addAll(asList(elements));
        expectContents(expected);
      }
    
      protected final void expectAdded(int index, E... elements) {
        expectAdded(index, asList(elements));
      }
    
      protected final void expectAdded(int index, Collection<E> elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

    @PlexusTest
    @Deprecated
    class MirrorProcessorTest {
        @Inject
        private DefaultMirrorSelector mirrorSelector;
    
        @Inject
        private ArtifactRepositoryFactory repositorySystem;
    
        @Test
        void testExternalURL() {
            assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://somehost")));
            assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://somehost:9090/somepath")));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/Traverser.java

         * </p>
         *
         * @param handler the handler to process resources
         */
        void forEach(ResourceHandler handler);
    
        /**
         * Performs post-processing of resources.
         */
        void close();
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CollectPreconditions.java

        }
        return value;
      }
    
      static void checkPositive(int value, String name) {
        if (value <= 0) {
          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 10 21:56:42 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

    public class QueueOfferTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testOffer_supportedNotPresent() {
        assertTrue("offer(notPresent) should return true", getQueue().offer(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/Tokenizer.java

            this.ctype = ctype;
        }
    
        /**
         * Sets up the character type array.
         *
         * @param ctype2
         *            The array of character types to set up.
         */
        protected static void setup(final byte[] ctype2) {
            wordChars(ctype2, 'a', 'z');
            wordChars(ctype2, 'A', 'Z');
            wordChars(ctype2, '0', '9');
            wordChar(ctype2, '@');
            wordChar(ctype2, '|');
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TestLocking.java

            // Default constructor
        }
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
                final SmbFile d = new SmbFile(f.getParent());
                final byte[] buf = new byte[1024];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry(
          Entry<K, V> entry) {
        return mapEntry(entry.getValue(), entry.getKey());
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        super.expectContents(expected);
        List<Entry<V, K>> reversedEntries = new ArrayList<>();
        for (Entry<K, V> entry : expected) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top