Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validateKey (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.setFaultyDelete(cacheDir / "k1.0.tmp", false)
        filesystem.setFaultyDelete(cacheDir, false)
        val snapshot = cache["k1"]
        assertThat(snapshot).isNull()
      }
    
      @Test
      fun validateKey() {
        var key = ""
        assertFailsWith<IllegalArgumentException> {
          key = "has_space "
          cache.edit(key)
        }.also { expected ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/validation/CronExpression.java

    /**
     * Validation constraint to ensure that a string is a valid cron expression.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
        /**
         * The error message when validation fails.
         * @return the error message
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/validation/UriType.java

     * This annotation validates URI strings based on specified protocol types.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = UriTypeValidator.class)
    public @interface UriType {
    
        /**
         * Specifies the protocol type to validate against.
         *
         * @return the protocol type
         */
        ProtocolType protocolType();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CustomSize.java

    /**
     * Validation constraint for custom size limits based on configuration keys.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CustomSizeValidator.class)
    public @interface CustomSize {
    
        /**
         * The error message when validation fails.
         * @return the error message
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top