Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 996 for useEmpty (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        subset.clear();
        assertThat(elementSet).containsExactly("a", "f").inOrder();
        assertThat(subset).isEmpty();
        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        repositories.addAll(artifactDescriptorRequest.getRepositories());
                    }
                    if (!repositories.isEmpty()) {
                        trackingData.add("Configured repositories:");
                        for (RemoteRepository r : repositories) {
                            trackingData.add(" - " + r.getId() + " : " + r.getUrl());
    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)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
        assertThat(map.entrySet())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

                this.channelBindingPolicy = initChannelBindingPolicy(value);
            }
    
            value = props.getProperty("jcifs.smb.client.loadBalancingStrategy");
            if (value != null && !value.trim().isEmpty()) {
                this.loadBalancingStrategy = value.trim();
            }
    
            value = props.getProperty("jcifs.smb.client.channelHealthCheckInterval");
            if (value != null) {
                try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                  append(" body)")
                },
              )
            }
          }
    
          return response
        }
    
        internal fun redactUrl(url: HttpUrl): String {
          if (queryParamsNameToRedact.isEmpty() || url.querySize == 0) {
            return url.toString()
          }
          return url
            .newBuilder()
            .query(null)
            .apply {
              for (i in 0 until url.querySize) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                // Extract object name from path, removing leading slash if present and decoding URL encoding
                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:52:56 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            for (CoreExtension extension : configuration) {
                List<Artifact> artifacts =
                        resolveExtension(extension, repoSession, repositories, dependencyFilter, interpolator);
                if (!artifacts.isEmpty()) {
                    extensions.add(createExtension(extension, artifacts));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        final Queue<Runnable> tasks = new ArrayDeque<>();
    
        @Override
        public void execute(Runnable command) {
          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.io.File
    import java.io.FileWriter
    import java.net.URI
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

            } finally {
                pathMappingHelper.removePathMappingList(options.sessionId);
                crawlingInfoHelper.putToInfoMap(Constants.CRAWLER_STATUS, errors.isEmpty() ? Constants.T.toString() : Constants.F.toString());
                if (!errors.isEmpty()) {
                    crawlingInfoHelper.putToInfoMap(Constants.CRAWLER_ERRORS,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top