Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,215 for emptify (0.03 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
        void testIteratorContract() {
            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                credentials = new NTCredentials(username, password == null ? StringUtil.EMPTY : password,
                        workstation == null ? StringUtil.EMPTY : workstation, domain == null ? StringUtil.EMPTY : domain);
            } else {
                credentials = new UsernamePasswordCredentials(username, password == null ? StringUtil.EMPTY : password);
            }
            return credentials;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertFalse(errors.isEmpty(), "Expected collection to not be empty but was empty");
        }
    
        @Test
        void testInvalidArtifactId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
                    "maven-it-plugin",
                    "0.1",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        return union(emptySet(), emptySet());
                      }
                    })
                .named("empty U empty")
                .withFeatures(CollectionSize.ZERO, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

            validateInputStream(in);
            try {
                final String content = params != null ? params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY) : StringUtil.EMPTY;
                return new ExtractData(content);
            } catch (final Exception e) {
                throw new ExtractException("Failed to extract filename from parameters.", e);
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top