Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,061 for EMPTY (0.01 sec)

  1. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

        }
    
        /**
         * Returns the bundle. Returns <code>null</code> if not found.
         *
         * @param name the resource bundle name (must not be {@literal null} or empty)
         * @param locale the locale
         * @param classLoader the class loader (must not be {@literal null} or empty)
         * @return {@link ResourceBundle}
         * @see ResourceBundle#getBundle(String, Locale, ClassLoader)
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Mock successful but empty response
            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
                // The response is the second argument
                Object response = invocation.getArgument(1);
                // Return it unchanged (which will have default values = empty results)
                return response;
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param date the date to format
         * @return formatted date string, or empty string if date is null
         */
        public static String formatDate(final Date date) {
            if (date == null) {
                return StringUtil.EMPTY;
            }
            final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacUnicodeStringTest.java

                pacString.check(testString);
            }, "A PACDecodingException should be thrown for a non-empty string with a zero pointer.");
    
            // Verify the exception message
            assertEquals("Non-empty string", exception.getMessage(), "The exception message is not correct.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param u the URL string to extract host from
         * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails
         */
        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with empty source array
            dest = new byte[8];
            nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, new byte[0]);
            assertEquals(4, nextOffset, "Should return correct next offset for empty source.");
            assertEquals(0, NtlmMessage.readUShort(dest, 0), "Length should be 0 for empty source.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         *
         * @return the application type string, or empty string if not set
         */
        public static String getAppType() {
            final String appType = System.getenv(FESS_APP_TYPE);
            if (StringUtil.isNotBlank(appType)) {
                return appType;
            }
            return StringUtil.EMPTY;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/stream/StreamUtil.java

         * If the input array is {@code null}, an empty stream is returned.
         *
         * @param <T> The type of elements in the stream.
         * @param values The elements to be included in the stream. Can be {@code null}.
         * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.
         */
        @SafeVarargs
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertEquals("Malformed kerberos ticket", exception.getMessage(), "The exception message should indicate a malformed ticket.");
        }
    
        /**
         * Test constructor with an empty token.
         * Empty token causes readObject() to return null, which leads to NullPointerException.
         */
        @Test
        void testConstructor_EmptyToken() {
            // 1. GIVEN
            byte[] emptyToken = new byte[0];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top