Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 838 for useEmpty (0.08 sec)

  1. android/guava/src/com/google/common/base/CaseFormat.java

      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
      private static String firstCharOnlyToUpper(String word) {
        return word.isEmpty()
            ? word
            : Ascii.toUpperCase(word.charAt(0)) + Ascii.toLowerCase(word.substring(1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
        TestService service = new TestService();
        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                    .map { it.name }
                val subprojectsInModelButNotInBucketJson = allSubprojectsInModel.toMutableList().apply { removeAll(allSubprojectsInBucketJson) }
    
                if (subprojectsInModelButNotInBucketJson.isEmpty()) {
                    testCoverage to buckets
                } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 09:50:29 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. 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);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        try {
          lazyStackTrace(e).set(0, null);
          fail();
        } catch (UnsupportedOperationException expected) {
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).isEmpty();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(Throwables.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            if (queryContext.roleQueryEnabled()) {
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
                if (!roleSet.isEmpty()) {
                    queryContext.addQuery(boolQuery -> buildRoleQuery(roleSet, boolQuery));
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. 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) {
              val parameterName = url.queryParameterName(i)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        Queue<Runnable> tasks = Queues.newArrayDeque();
    
        @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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top