Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for violations (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertFalse(violations.isEmpty());
            assertEquals(1, violations.size());
    
            ConstraintViolation<CustomMessageBean> violation = violations.iterator().next();
            assertEquals("Invalid cron expression format", violation.getMessage());
        }
    
        // Test annotation on method parameter
        public void test_annotationOnMethod() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

    import jcifs.CIFSException;
    
    /**
     * Exception thrown when errors occur during SMB protocol message decoding.
     * Indicates that an SMB message could not be properly parsed or decoded due to
     * malformed data, protocol violations, or unsupported message formats.
     *
     * @author mbechler
     */
    public class SMBProtocolDecodingException extends CIFSException {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbExceptionTest.java

            assertNotNull(notFound);
    
            // Test potentially retriable errors
            SmbException sharingViolation = new SmbException(NtStatus.NT_STATUS_SHARING_VIOLATION, false);
            // Sharing violations might be retriable in some contexts
            // The implementation determines this
            assertNotNull(sharingViolation);
        }
    
        @Test
        @DisplayName("Should preserve stack trace information")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static final class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static final class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. android/pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  7. pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. .bazelrc

    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    common --incompatible_enforce_config_setting_visibility
    # TODO: also enable this flag after fixing the visibility violations
    # common --incompatible_config_setting_private_default_visibility
    
    # TODO: Enable Bzlmod
    common --noenable_bzlmod
    
    build --incompatible_enable_cc_toolchain_resolution
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            logger.logSecurityViolation("Test violation with stack trace", context);
    
            logger.setIncludeStackTrace(false);
            logger.logSecurityViolation("Test violation without stack trace", context);
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/audit/SecurityAuditLogger.java

            returnContextMap(context);
        }
    
        /**
         * Log a security violation
         *
         * @param violation description of violation
         * @param context additional context
         */
        public void logSecurityViolation(String violation, Map<String, Object> context) {
            String message = "Security violation detected: " + violation;
            logEvent(EventType.SECURITY_VIOLATION, Severity.CRITICAL, message, context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top