Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,160 for isInvalid (0.39 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                assertFalse(ModelVersionUtils.isValidModelVersion(version));
            }
    
            @ParameterizedTest
            @MethodSource("provideInvalidVersions")
            @DisplayName("should reject invalid version formats")
            void shouldRejectInvalidVersionFormats(String version, String description) {
                assertFalse(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. internal/config/storageclass/storage-class.go

    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    }
    
    // IsValid - returns true if input string is a valid
    // storage class kind supported.
    func IsValid(sc string) bool {
    	return sc == RRS || sc == STANDARD
    }
    
    // UnmarshalText unmarshals storage class from its textual form into
    // storageClass structure.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
                    if (!value.startsWith("/")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            assertNotNull(order);
            assertEquals(BucketOrder.key(true), order);
        }
    
        // Test getBucketOrder with invalid sort value
        @Test
        public void test_getBucketOrder_invalidSort() {
            facetInfo.sort = "invalid.desc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
            assertEquals(BucketOrder.count(false), order); // default
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile));
        }
    
        private void writeHeader(PrintWriter fw) {
            fw.println("# Valid links are:");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. README.md

    OkHttp is principled and avoids being overly configurable, especially when such configuration is
    to workaround a buggy server, test invalid scenarios or that contradict the relevant RFC.
    Other HTTP libraries exist that fill that gap allowing extensive customisation including potentially
    invalid requests.
    
    Example Limitations
    
    * Does not allow GET with a body.
    * Cache is not an interface with alternative implementations.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
            this.masterKey = deriveKey(masterPassword, this.salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmException.java

        /** Error code for model not found. */
        public static final String ERROR_MODEL_NOT_FOUND = "model_not_found";
    
        /** Error code for invalid response from the LLM provider. */
        public static final String ERROR_INVALID_RESPONSE = "invalid_response";
    
        /** Error code for connection errors. */
        public static final String ERROR_CONNECTION = "connection_error";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the metadata due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     */
    public class MetadataParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                if (values.length > 2) {
                    throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text),
                            "Invalid sort field: " + termQuery);
                }
                final String sortField = values[0];
                if (!getQueryFieldConfig().isSortField(sortField)) {
                    throw new InvalidQueryException(
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
Back to Top