Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 4,015 for null (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

          @ParametricNullness V value) {
        if (value == null) {
          // This cast is safe because null is assignable to V for all V (i.e. it is bivariant)
          @SuppressWarnings("unchecked")
          ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL;
          return typedNull;
        }
        return new ImmediateFuture<>(value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
            if (property != null) {
                String name = property.getName();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

        @Override
        public void write(File output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         *
         * @param groupId The group identifier of the POM, must not be {@code null}.
         * @param artifactId The artifact identifier of the POM, must not be {@code null}.
         * @param version The version of the POM, must not be {@code null}.
         * @return The source of the requested POM, never {@code null}.
         * @throws UnresolvableModelException If the POM could not be resolved from any configured repository.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // manually add elements to avoid expansion
        // 1/3 null keys, 1/3 null values
        int originalCount = 1024;
        ReferenceEntry<Object, Object> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = (i % 3 == 0) ? null : new Object();
          int hash = map.hash(key);
          if (i % 3 == 1) {
            key = null;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // manually add elements to avoid expansion
        // 1/3 null keys, 1/3 null values
        int originalCount = 1024;
        ReferenceEntry<Object, Object> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = (i % 3 == 0) ? null : new Object();
          int hash = map.hash(key);
          if (i % 3 == 1) {
            key = null;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

                final String proxyUsername = fessConfig.getHttpProxyUsername();
                final String proxyPassword = fessConfig.getHttpProxyPassword();
                if (proxyUsername != null && proxyPassword != null) {
                    paramMap.put(HcHttpClient.PROXY_CREDENTIALS_PROPERTY, new UsernamePasswordCredentials(proxyUsername, proxyPassword));
                }
    
            }
        }
    
        default String getScriptType() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            if (e instanceof ContainerNotAvailableException) {
                return null;
            }
    
            final FailureUrlBhv bhv = ComponentUtil.getComponent(FailureUrlBhv.class);
            final FailureUrl failureUrl = bhv.selectEntity(cb -> {
                cb.query().setUrl_Equal(url);
                if (crawlingConfig != null) {
                    cb.query().setConfigId_Equal(crawlingConfig.getConfigId());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ParametricNullness.java

     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
     *   <li>methods whose return type is a type variable but which can return {@code null} regardless
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top