Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 4,689 for nulls (0.02 seconds)

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

       */
    
      /**
       * Creates a new instance with {@code null} as its detail message and no cause.
       *
       * @deprecated Prefer {@linkplain ExecutionError(Error)} a constructor that accepts a cause: Users
       *     of this class typically expect for instances to have a non-null cause. At the moment, you
       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         */
        public static String toString(final Number value, final String pattern) {
            if (value != null) {
                if (pattern != null) {
                    return new DecimalFormat(pattern).format(value);
                }
                return value.toString();
            }
            return null;
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            }
        }
    
        public void doCloseContainer() throws Exception {
            if (containerCapsule != null) {
                try {
                    containerCapsule.close();
                } finally {
                    eventSpyDispatcher = null;
                    lookup = null;
                    containerCapsule = null;
                }
            }
        }
    
        public Options options() {
            return options;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

         */
        @Nullable
        public static FileTree getJavaMainSourceResources(Project project, Action<? super PatternFilterable> filter) {
            final Optional<FileTree> mainFileTree = getJavaMainSourceSet(project).map(SourceSet::getResources).map(FileTree::getAsFileTree);
            return mainFileTree.map(files -> files.matching(filter)).orElse(null);
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String) null));
    
        assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
    
        assertThrows(NullPointerException.class, () -> builder.add("a", null, "b"));
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java

        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field NAMESPACE.
         */
        private static final String NAMESPACE = null;
    
        /**
         * Field fileComment.
         */
        private String fileComment = null;
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
        // Test 100 byte array of 0xFF.
        byte[] fulls = new byte[100];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0xbc753add, fulls);
      }
    
      public void testAscending() {
        // Test 32 byte arrays of ascending.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Override
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataRetrievalException.java

        public ArtifactMetadataRetrievalException(String message) {
            this(message, null, null);
        }
    
        /**
         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(Throwable cause) {
            this(null, cause, null);
        }
    
        /**
         * @param message a message
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        static {
          if (GENERATE_CANCELLATION_CAUSES) {
            CAUSELESS_CANCELLED = null;
            CAUSELESS_INTERRUPTED = null;
          } else {
            CAUSELESS_CANCELLED = new Cancellation(false, null);
            CAUSELESS_INTERRUPTED = new Cancellation(true, null);
          }
        }
    
        final boolean wasInterrupted;
        final @Nullable Throwable cause;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top