Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 4,689 for nulls (0.02 seconds)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertThat(StringUtil.defaultString("aaa", "NULL"), is("aaa"));
            assertThat(StringUtil.defaultString("aaa", null), is("aaa"));
            assertThat(StringUtil.defaultString(null, null), is(nullValue()));
        }
    
        @Test
        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            char[] chars = new char[0];
            assertThat(StringUtil.newStringUnsafe(chars), is(""));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

         * Decodes a Base64 string to bytes.
         *
         * @param base64String the Base64 string to decode
         * @return the decoded bytes, or null if input is null
         */
        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
            } catch (IllegalArgumentException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(defaultConfig.getRandom(), "Random should not be null");
            assertNotNull(defaultConfig.getLocalTimezone(), "Local timezone should not be null");
            assertNotNull(defaultConfig.getMachineId(), "Machine ID should not be null");
        }
    
        @Test
        @DisplayName("Test network configuration getters")
        void testNetworkConfigurationGetters() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

            if (boost != null) {
                addFieldToSource(sourceMap, "boost", boost);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (maxSize != null) {
                addFieldToSource(sourceMap, "maxSize", maxSize);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsWebConfigCB.java

            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
            if (_conditionAggregation != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        return RecordedResponse(priorResponse.request, priorResponse, null, null, null)
      }
    
      /**
       * Asserts that the current response used the network and returns the network response.
       */
      fun networkResponse(): RecordedResponse {
        val networkResponse = response!!.networkResponse!!
        return RecordedResponse(networkResponse.request, networkResponse, null, null, null)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Platform.java

       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@Nullable String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not empty; {@code null} otherwise
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    
            when(mockCallingName.getName()).thenReturn("CLIENT");
            when(mockCallingName.getNameType()).thenReturn(0x00);
            when(mockCallingName.getScope()).thenReturn(null);
    
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig, mockCalledName, mockCallingName);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         *   <li>If the value is null, get the value from the context.</li>
         *   <li>If the value is null, but the context contains the expression, don't replace the expression string
         *       with the value, and continue to find other expressions.</li>
         *   <li>If the value is null, get it from the model properties.</li>
         * </ul>
         */
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        updateCheckManager.touch(artifact, repository, null);
                    } catch (ResourceDoesNotExistException e) {
                        updateCheckManager.touch(artifact, repository, null);
                        throw e;
                    } catch (TransferFailedException e) {
                        String error = (e.getMessage() != null)
                                ? e.getMessage()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top