- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 2,652 for throw (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
} private fun registerStandardClass( access: Feature.BeforeAnalysisAccess, name: String, ) { val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name") RuntimeReflection.register(clazz) clazz.declaredConstructors.forEach { RuntimeReflection.register(it) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testFind_nonNullWhenNullContained() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java
public Entry<E> lastEntry() { return delegate().lastEntry(); } @Override @CheckForNull public Entry<E> pollFirstEntry() { throw new UnsupportedOperationException(); } @Override @CheckForNull public Entry<E> pollLastEntry() { throw new UnsupportedOperationException(); } @Override public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
} @Override public <T> T lookup(Class<T> type) { Optional<T> optional = lookupOptional(type); if (optional.isPresent()) { return optional.get(); } else { throw new LookupException("No mapping for key: " + type.getName()); } } @Override public <T> T lookup(Class<T> type, String name) { return lookup(type); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
} @Override public void addHandlers(Map<String, ArtifactHandler> handlers) { throw new UnsupportedOperationException("Adding handlers programmatically is not supported anymore"); } @Deprecated public Set<String> getHandlerTypes() { throw new UnsupportedOperationException("Querying handlers programmatically is not supported anymore"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
.github/workflows/create_issue.js
const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || []; if (pr_match_groups.length != 2) { console.log(`PR Number not found in ${context.payload.head_commit.message}`); throw "Error extracting PR Number from commit message"; } const pr_number = parseInt(pr_match_groups[1]); const owner = context.payload.repository.owner.name; const repo = context.payload.repository.name;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 18 23:04:59 UTC 2021 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
get() = when (this) { is CtField -> "$name:$signature" is CtConstructor -> "<init>$signature" is CtMethod -> "$name$signature" else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'") } } internal enum class MemberType { TYPE, CONSTRUCTOR, FIELD, METHOD } private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 12:41:59 UTC 2024 - 4.8K bytes - Viewed (0)