Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 838 for useEmpty (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            }
            clientMap = newClientMap;
        }
    
        public void addClient(final List<String> regexList, final CrawlerClient client) {
            if (regexList == null || regexList.isEmpty()) {
                throw new CrawlerSystemException("A regular expression list is null or empty.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
                  + ": no CollectionSizes specified (check the argument to "
                  + "FeatureSpecificTestSuiteBuilder.withFeatures().)");
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            return createTreap(Ints.asList(keys));
          }
    
          // See http://en.wikipedia.org/wiki/Treap for details on the algorithm.
          private Optional<BinaryNode> createTreap(List<Integer> keys) {
            if (keys.isEmpty()) {
              return Optional.absent();
            }
            int minIndex = 0;
            for (int i = 1; i < keys.size(); i++) {
              if (keys.get(i) < keys.get(minIndex)) {
                minIndex = i;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

            if (value != null && expression.startsWith(bannedPrefix)) {
                String msg = "The expression ${" + expression + "} is deprecated.";
                if (newPrefix != null && !newPrefix.isEmpty()) {
                    msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

            // Javadoc task will complain if we only have package-info.java files and no
            // other java files (as is with some Kotlin projects)
            !source.matching {
                exclude("**/package-info.java")
            }.isEmpty
        }
    
        options {
            this as StandardJavadocDocletOptions
    
            encoding = "utf-8"
            docEncoding = "utf-8"
            charSet = "utf-8"
    
            // Enable all javadoc warnings, except for:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            for (int i = 0; i < NUM; i++) {
                tokens.add(accessTokenHelper.generateAccessToken());
            }
            for (int i = 0; i < NUM; i++) {
                assertFalse(tokens.get(i).isEmpty());
                for (int j = i + 1; j < NUM; j++) {
                    assertFalse(tokens.get(i).equals(tokens.get(j)));
                }
            }
        }
    
        public void test_getAccessTokenFromRequest_ok0() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

      @CollectionSize.Require(ONE)
      public void testValuesIteratorRemove() {
        Iterator<V> valuesItr = multimap().values().iterator();
        valuesItr.next();
        valuesItr.remove();
        assertTrue(multimap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
        assertFalse(map.remove("bar", 1));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertTrue(map.remove("foo", 1));
        assertTrue(map.isEmpty());
      }
    
      public void testReplace() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.replace("foo", 2));
        assertNull(map.replace("bar", 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        var failure: IOException? = null
    
        try {
          request = source.readUtf8LineStrict()
          if (request.isEmpty()) {
            throw ProtocolException("no request because the stream is exhausted")
          }
    
          while (true) {
            val header = source.readUtf8LineStrict()
            if (header.isEmpty()) {
              break
            }
            addHeaderLenient(headers, header)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertEquals(expected.length, ByteSource.concat(b1, b2, b3).size());
        assertFalse(ByteSource.concat(b1, b2, b3).isEmpty());
    
        ByteSource emptyConcat = ByteSource.concat(ByteSource.empty(), ByteSource.empty());
        assertTrue(emptyConcat.isEmpty());
        assertEquals(0, emptyConcat.size());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top