- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 85 for Violation (0.14 seconds)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
return repository.isOverride(method) } Violation acceptOrReject(JApiCompatibility member, Violation rejection) { List<String> changes = member.compatibilityChanges.collect { Violation.describe(it.getType()) } return acceptOrReject(member, changes, rejection) } Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 10K bytes - Click Count (0) -
errors.go
// ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation ErrForeignKeyViolated = errors.New("violates foreign key constraint") // ErrCheckConstraintViolated occurs when there is a check constraint violation ErrCheckConstraintViolated = errors.New("violates check constraint")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 26 02:53:17 GMT 2024 - 2.5K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 17 06:18:13 GMT 2024 - 5K bytes - Click Count (0) -
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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then: violation.humanExplanation.contains('SuperInternal.publicMethod()') violation.humanExplanation.contains('SuperInternal.returnTypeOverridenMethod()') !violation.humanExplanation.contains('SuperInternal.privateMethod()') }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
*/ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiClass import japicmp.model.JApiCompatibility import javassist.CtClass import me.champeau.gradle.japicmp.report.Violation import java.util.regex.Pattern abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule { private final List<Pattern> publicApiPatternsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 2.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
} def 'adding an #type interface can be reported'() { given: newBase.addInterface(interfaces[type]) when: Violation violation = rule.maybeViolation(apiClass) then: violation.humanExplanation.contains(result) where: type | result 'internal' | "\"${replaceAsInternal(InternalInterface.name)}\""Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0) -
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 @Test public void test_annotationOnMethod() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt
OkHttpClient() assertThat(violations).hasSize(1) assertThat(violations[0].message).isEqualTo("newSSLContext") } @Test fun testNewCall() { Platform.resetForTests() val client = OkHttpClient() applyStrictMode() // Safe on main client.newCall(Request("https://google.com/robots.txt".toHttpUrl())) assertThat(violations).isEmpty() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 2.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java
return null; } else { return acceptOrReject(member, Violation.error(member, String.format(SINCE_MISMATCH_ERROR_MESSAGE, getCurrentVersion(), present.getVersion()))); } } else if (since instanceof SinceTagStatus.Inconsistent inconsistent) { return acceptOrReject(member, Violation.error(member, String.format(SINCE_INCONSISTENT_ERROR_MESSAGE, inconsistent.getVersions())));Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0)