Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 558 for isInvalid (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

            }
            try {
                resultData.setData(path.getBytes(charsetName));
            } catch (final UnsupportedEncodingException e) {
                if (logger.isInfoEnabled()) {
                    logger.info("Invalid charsetName: " + charsetName + ". Changed to " + Constants.UTF_8, e);
                }
                charsetName = Constants.UTF_8_CHARSET.name();
                resultData.setData(path.getBytes(Constants.UTF_8_CHARSET));
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    throw new ThumbnailGenerationException("Invalid thumbnail: " + url);
                }
                final String configId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldConfigId(), String.class);
                if (configId == null || configId.length() < 2) {
                    throw new ThumbnailGenerationException("Invalid configId: " + configId);
                }
                return consumer.test(configId, url);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. integration-tests/gradle/gradlew.bat

    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 21 19:14:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

                max = Integer.parseInt(fessConfig.get(maxKey));
            }
            message = constraintAnnotation.message();
            validateParameters();
        }
    
        @Override
        public boolean isValid(final CharSequence value, final ConstraintValidatorContext context) {
            if (value == null) {
                return true;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/NegTokenTargTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link NegTokenTarg}. The class has no external
     * collaborators so tests are mostly focused on round‑trip
     * serialisation and invalid input handling.
     */
    class NegTokenTargTest {
    
        @Test
        @DisplayName("happy path – full token round‑trip")
        void testRoundTripFull() throws IOException {
            // Arrange – create a fully populated token
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If page size is not set or is invalid, returns the default page size.
         *
         * @return page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

                            break;
                        default:
                            throw new SmbException("Invalid operation for " + service + " service");
                        }
                        break;
                    default:
                        throw new SmbException("Invalid operation for " + service + " service" + request);
                    }
                }
                request.tid = tid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

        }
    
        /**
         * Creates and configures a DOM parser for parsing HTML content.
         *
         * @return a configured DOMParser instance
         * @throws CrawlerSystemException if the parser configuration is invalid
         */
        protected DOMParser getDomParser() {
            try {
                final DOMParser parser = new DOMParser();
                // feature
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, trans2QueryFSInfo.getSubCommand());
        }
    
        @Test
        @DisplayName("Test constructor with invalid information level")
        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top