- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 112 for intentionally (0.07 seconds)
-
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
SmbRenewableCredentials creds = null; // Act + Assert: invoking renew() on null triggers NullPointerException assertThrows(NullPointerException.class, () -> { // Intentional NPE through dereference of a null interface reference creds.renew(); }); } @Test @DisplayName("Type contract: implementation is also CredentialsInternal")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0)); assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0)); } @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing. public void testLenientFormat() { assertThat(Strings.lenientFormat("%s")).isEqualTo("%s"); assertThat(Strings.lenientFormat("%s", 5)).isEqualTo("5");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
import org.jspecify.annotations.NullUnmarked; /** * Test suite covering {@link Ints#asList(int[])}. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("cast") // redundant casts are intentional and harmless @NullUnmarked @AndroidIncompatible // test-suite builders public class IntArrayAsListTest extends TestCase { private static List<Integer> asList(Integer[] values) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StringsTest.java
assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0)); assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0)); } @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing. public void testLenientFormat() { assertThat(Strings.lenientFormat("%s")).isEqualTo("%s"); assertThat(Strings.lenientFormat("%s", 5)).isEqualTo("5");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} } else if (platformSystemProperty == JDK8_PROPERTY) { if (isAlpnBootEnabled()) { System.err.println("Warning: ALPN Boot enabled unintentionally") } } else if (platformSystemProperty == OPENJSSE_PROPERTY && Security.getProviders()[0].name != "OpenJSSE") { if (!OpenJSSEPlatform.isSupported) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12))); assertEquals(Range.atLeast(4), range.span(Range.atLeast(10))); } @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method public void testPredicateMethods() { Range<Integer> predicate = Range.closed(2, 3); assertFalse(predicate.apply(1)); assertTrue(predicate.apply(2));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* handleException() at all. */ if (throwable instanceof Error) { /* * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it * returned true? This was intentional (CL 46470009), but it seems odd compared to how we * normally handle Error. * * Similarly, do we really want to log the same Error more than once? */ log(throwable); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* TypeVariable implementation at all. * * NOTE: b/147144588 - Custom TypeVariables created by Guava do not preserve * annotations. This is intentional. The semantics of annotation handling during * type resolution are unclear and have changed across Java versions. Until there's * a clear specification for what annotations should mean on resolved TypeVariablesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
CONTRIBUTING.md
The report will explain the errors in detail. Perhaps, you forgot to add an `@Incubating` annotation or `@since` in the javadoc. 2. Accept the changes.\ If you are sure that the changes are intentional, follow the steps described in the report. This includes adding the description of the changes to the `accepted-public-api-changes.json` file, and providing a reason for each change.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 18:43:39 GMT 2026 - 19.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link Preconditions}. * * @author Kevin Bourrillion * @author Jared Levy */ @NullMarked @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing @GwtCompatible public class PreconditionsTest extends TestCase { public void testCheckArgument_simple_success() { checkArgument(true); } public void testCheckArgument_simple_failure() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0)