Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,413 for EMPTY (0.03 sec)

  1. 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 (1)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

      private val headers: Headers = Headers.EMPTY
    
      @Test fun testIPv4() {
        val socket =
          MockWebServerSocket(
            FakeSocket(
              localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)),
              localPort = 80,
            ),
          )
        val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/BeanDesc.java

         *            The property name. Must not be {@literal null} or empty string
         * @return Whether the {@link PropertyDesc} exists
         */
        boolean hasPropertyDesc(String propertyName);
    
        /**
         * Returns the {@link PropertyDesc}.
         *
         * @param propertyName
         *            The property name. Must not be {@literal null} or empty string
         * @return {@link PropertyDesc}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        private void validateIdentity() {
            if (empty(groupId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The groupId cannot be empty.");
            }
    
            if (empty(artifactId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
            }
    
            if (empty(type)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
            assertEquals("Empty file should have no records", 0, result.getAllRecordCount());
            assertEquals("Empty file should have no pages", 0, result.getAllPageCount());
        }
    
        // Test selectList method with valid data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

         *
         * @return The list of matching versions, never {@code null}. An empty list indicates
         *         no versions matched the requested range.
         */
        @Nonnull
        List<Version> getVersions();
    
        /**
         * Gets the lowest version matching the requested range.
         *
         * @return An Optional containing the lowest matching version, or empty Optional if no versions
         *         matched the requested range
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/util/StringsTest.java

                if (input == null || input.isEmpty()) {
                    assertEquals(0, result.length, "Null or empty input should produce empty array");
                } else {
                    assertTrue(result.length > 0, "Non-empty input should produce non-empty array");
                }
            }
        }
    
        @Nested
        @DisplayName("Unicode and ASCII Encoding")
        class UnicodeAndASCIITests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top