- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for violations (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
"Error validating JSON. See the report at: %s%s%s", getReport().toURI().toASCIIString(), System.lineSeparator(), String.format("Verification failed: %d files contained %d violations", errors.keySet().size(), errors.values().size()) ); throw new GradleException(message); } /**Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* return android.os.SystemClock.elapsedRealtimeNanos(); * } * }); * } * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @SuppressWarnings("GoodTime") // lots of violations public final class Stopwatch { private final Ticker ticker; private boolean isRunning; private long elapsedNanos; private long startTick; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
String enrichedDesc = data.description + buildFixAllButton(currentApiChanges) + buildAutoSelectSeverityFilter() return new RichReportData(data.reportTitle, enrichedDesc, data.violations) } private static String buildFixAllButton(String currentApiChanges) { // language=javascript return """ <script type="text/javascript">
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 7K bytes - Click Count (0)