- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 81 for violations (0.06 seconds)
-
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-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java
"-PcompileVersion=0.0.1" ).buildAndFail(); assertTaskFailed(result, ":absurd"); assertOutputContains(result.getOutput(), "Classes with violations:", " * TestingIO", "> Audit of third party dependencies failed"); assertOutputMissing(result.getOutput(), "Missing classes:"); assertNoDeprecationWarning(result); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.6K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
background on the issue, but not involved in the conflict) to intercede. 3. If you are still unable to resolve the conflict, and you believe it rises to harassment or another code of conduct violation, report it. ## Reporting ViolationsCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
<module name="PackageDeclaration" /> <!-- Checks that a local variable or a parameter does not shadow a field that is defined in the same class. --> <!-- Disabled until existing violations are fixed --> <!-- <module name="HiddenField"> <property name="ignoreConstructorParameter" value="true" /> <property name="ignoreSetter" value="true" />
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
if (isIncubating((JApiHasAnnotations) member)) { return Violation.warning(member, "Changed public API (@Incubating)"); } } return acceptOrReject(member, Violation.notBinaryCompatible(member)); } return null; } // Annotation-related violations are not fully supported by japicmp plugin yet.
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java
sb.append(getReport().toURI().toASCIIString()); sb.append(System.lineSeparator()); sb.append( String.format("Verification failed: %d files contained %d violations", errors.keySet().size(), errors.values().size()) ); throw new JsonSchemaException(sb.toString()); } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 28 11:09:58 GMT 2021 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
import org.apache.maven.artifact.versioning.OverConstrainedVersionException; /** * Specific problems during resolution that we want to account for: * <ul> * <li>missing metadata</li> * <li>version range violations</li> * <li>version circular dependencies</li> * <li>missing artifacts</li> * <li>network/transfer errors</li> * <li>file system errors: permissions</li> * </ul> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 10K bytes - Click Count (0) -
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 { /** * */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
assertNoPointlessExclusions("are not missing", missingClassExcludes, missingClasses); missingClasses.removeAll(missingClassExcludes); } assertNoPointlessExclusions("have no violations", violationsExcludes, violationsClasses); assertNoPointlessExclusions("do not generate jar hell with the JDK", jdkJarHellExcludes, jdkJarHellClasses);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0)