Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2261 - 2270 of 3,758 for null (0.02 sec)

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

            assertEquals(message, exception.getMessage());
        }
    
        public void test_message_nullString() {
            // Test with null message string
            int statusCode = 500;
            String message = null;
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TableCollectors.java

          V value,
          BinaryOperator<V> mergeFunction) {
        checkNotNull(value);
        V oldValue = table.get(row, column);
        if (oldValue == null) {
          table.put(row, column, value);
        } else {
          V newValue = mergeFunction.apply(oldValue, value);
          if (newValue == null) {
            table.remove(row, column);
          } else {
            table.put(row, column, newValue);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                return redirectToLogin();
            }
    
            final Map<String, Object> doc =
                    searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null);
            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldThumbnail(), String.class);
            if (StringUtil.isBlank(form.queryId) || StringUtil.isBlank(url) || !thumbnailSupport) {
                // 404
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         * @param <T> The type of the object
         * @param name The attribute name
         * @return The attribute value, or null if not found
         */
        @SuppressWarnings("unchecked")
        public static <T> T getObject(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
        }
    
        /**
         * Sets an error in the current request with the specified status code and message.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        assertTrue("add(nullPresent) should return true", getList().add(null));
    
        List<E> expected = copyToList(array);
        expected.add(null);
        expectContents(expected);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            XContentBuilderCallback callback = (builder, params) -> {
                // Test behavior when builder operations might fail
                if (builder == null) {
                    throw new IOException("Builder is null");
                }
                builder.startObject();
                builder.field("null_test", "value");
                builder.endObject();
                return builder;
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
        if (features == null) {
          throw new IllegalStateException("Call withFeatures() before createTestSuite().");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(fileIndex, readIndex);
        }
    
        @Test
        @DisplayName("Test setFileName method with null")
        void testSetFileNameNull() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    
            request.setFileName(null);
    
            // Verify size calculation doesn't include filename
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NaturalOrdering.java

      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
        Ordering<@Nullable Comparable<?>> result = nullsFirst;
        if (result == null) {
          result = nullsFirst = super.<Comparable<?>>nullsFirst();
        }
        return (Ordering<@Nullable S>) result;
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top