Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 2,833 for Null (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionResult.java

         *
         * @return The transitive dependencies, never {@code null}.
         */
        List<Dependency> getDependencies();
    
        /**
         * Gets the dependencies that were successfully resolved.
         *
         * @return The resolved dependencies, never {@code null}.
         */
        List<Dependency> getResolvedDependencies();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val sections = sections(withoutSectionSpans)
    
      val rangesBuffer = Buffer()
      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
      var previousMappedRanges: List<MappedRange>? = null
    
      for ((section, sectionMappedRanges) in sections) {
        // Skip sequential ranges when they are equal.
        if (sectionMappedRanges == previousMappedRanges) continue
        previousMappedRanges = sectionMappedRanges
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private <T extends Iterator<E>> void internalExecuteAndCompare(
          T reference, T target, IteratorOperation method) {
        Object referenceReturnValue = null;
        PermittedMetaException referenceException = null;
        Object targetReturnValue = null;
        Exception targetException = null;
    
        try {
          targetReturnValue = method.execute(target);
        } catch (Exception e) { // sneaky checked exception
          targetException = e;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            return LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), null);
        }
    
        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * @return map of attribute names to values, never {@code null}
         */
        @Nonnull
        Map<String, String> attributes();
    
        /**
         * Returns the value of a specific attribute.
         *
         * @param name the name of the attribute to retrieve
         * @return the attribute value, or {@code null} if the attribute doesn't exist
         * @throws NullPointerException if name is null
         */
        @Nullable
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            MethodInfo setterInfo = findCachedMethod(beanType, "", null);
            if (setterInfo == null) {
                // Look for any method named "set" with one parameter
                Map<String, MethodInfo> classMethodCache = METHOD_CACHE.computeIfAbsent(beanType, this::buildMethodCache);
                setterInfo = classMethodCache.get("set");
            }
    
            if (setterInfo == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if the element is null
       */
      public static <E> ImmutableList<E> of(E e1) {
        return construct(e1);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                        Arguments.of(null, null, "4.1.0", false, "Should disable plugins when only --model-version is set"),
                        Arguments.of(false, null, null, false, "Should disable plugins when --all=false"),
                        Arguments.of(null, null, null, true, "Should enable plugins by default when no options specified"));
            }
        }
    
        @Nested
        @DisplayName(".mvn Directory Creation")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                    .installationSettingsSource(
                            installationSettingsPath != null && Files.exists(installationSettingsPath)
                                    ? Sources.fromPath(installationSettingsPath)
                                    : null)
                    .projectSettingsSource(
                            projectSettingsPath != null && Files.exists(projectSettingsPath)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top