Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 4,689 for nulls (0.05 seconds)

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with null message
            FessSystemException exception = new FessSystemException((String) null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            String message = "Test with null cause";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

         * or after the output future is done, whichever comes first.
         */
        if (reason == OUTPUT_FUTURE_DONE) {
          this.task = null;
        }
      }
    
      @Override
      protected void interruptTask() {
        @RetainedLocalRef CombinedFutureInterruptibleTask<?> localTask = task;
        if (localTask != null) {
          localTask.interruptTask();
        }
      }
    
      @WeakOuter
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            String localRepositoryPath = null;
    
            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         * @return the normalized content, or empty string if content is null
         */
        public String getContent(final CrawlingConfig crawlingConfig, final ResponseData responseData, final String content,
                final Map<String, Object> dataMap) {
            if (content == null) {
                return StringUtil.EMPTY; // empty
            }
    
            if (crawlingConfig != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        int entry = findEntryByKey(key);
        return (entry == ABSENT) ? null : values[entry];
      }
    
      @Nullable K getInverse(@Nullable Object value) {
        int entry = findEntryByValue(value);
        return (entry == ABSENT) ? null : keys[entry];
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/EnumsTest.java

        assertEquals(TestEnum.HONDA, converter.convert("HONDA"));
        assertEquals(TestEnum.POODLE, converter.convert("POODLE"));
        assertThat(converter.convert(null)).isNull();
        assertThat(converter.reverse().convert(null)).isNull();
      }
    
      public void testStringConverter_convertError() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

         * import javax.naming.*;
         * import javax.naming.directory.*;
         * public static String getDomainByName(String name) throws UnknownHostException {
         * DirContext context;
         * UnknownHostException uhe = null;
         *
         * try {
         * context = new InitialDirContext();
         * for ( ;; ) {
         * try {
         * Attributes attributes = context.getAttributes(
         * "dns:/_ldap._tcp.dc._msdcs." + name,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // Given - Various invalid buffers
            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
                BufferCache.releaseBuffer(nullBuffer); // Should ignore null
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            reader.setScrollSize(1000);
            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/misc/Pair.java

            final Pair<T1, T2> other = (Pair<T1, T2>) obj;
            if (first == null) {
                if (other.first != null) {
                    return false;
                }
            } else if (!first.equals(other.first)) {
                return false;
            }
            if (second == null) {
                if (other.second != null) {
                    return false;
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top