Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 2,833 for Null (0.03 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            if (config == null) {
                return false;
            }
    
            // there are sub items ... so configuration is declared
            if (config.getChildCount() > 0) {
                return true;
            }
    
            String strValue = config.getValue();
    
            if (strValue == null || strValue.isEmpty()) {
                return false;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                if (lifecycleConfiguration != null) {
                    phaseToGoalMapping = lifecycleConfiguration.getLifecyclePhases();
                } else if (lifecycle.getDefaultLifecyclePhases() != null) {
                    phaseToGoalMapping = lifecycle.getDefaultLifecyclePhases();
                }
    
                if (phaseToGoalMapping != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * {@code IllegalStateException} if this queue is full.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Collection#add})
       * @throws IllegalStateException if this queue is full
       * @throws NullPointerException if the specified element is null
       */
      @CanIgnoreReturnValue
      @Override
      public boolean add(E e) {
        return super.add(e);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        internal var request: Request? = null
        internal var protocol: Protocol? = null
        internal var code = -1
        internal var message: String? = null
        internal var handshake: Handshake? = null
        internal var headers: Headers.Builder
        internal var body: ResponseBody = ResponseBody.EMPTY
        internal var socket: Socket? = null
        internal var networkResponse: Response? = null
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
      public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
      public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            Editor editor = new Editor(pomDocument);
            Element root = editor.root();
            if (root == null) {
                return MODEL_VERSION_4_0_0;
            }
    
            // First try to get from modelVersion element
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                String modelVersion = modelVersionElement.textContentTrimmed();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), null, null, type);
            attachArtifact(project, artifact, path);
        }
    
        /**
         * Attaches a produced artifact to the project at the specified path. This is the base method
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * Returns an arbitrary instance for {@code type}, or {@code null} if no arbitrary instance can be
       * determined.
       */
      public static <T> @Nullable T get(Class<T> type) {
        T defaultValue = DEFAULTS.getInstance(type);
        if (defaultValue != null) {
          return defaultValue;
        }
        Class<? extends T> implementation = getImplementation(type);
        if (implementation != null) {
          return get(implementation);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top