- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 2,652 for throw (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
} @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_unsupportedPresent() { try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
} @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
int start = bufferIndex; this.version = SMBUtil.readInt2(buffer, bufferIndex); if ( this.version != 3 && this.version != 1 ) { throw new RuntimeCIFSException("Version " + this.version + " referral not supported. Please report this to jcifs at samba dot org."); } bufferIndex += 2; this.size = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java
} cb.query().addOrderBy_CreatedTime_Desc(); } protected void setupStoreCondition(final CrawlingInfo crawlingInfo) { if (crawlingInfo == null) { throw new FessSystemException("Crawling Session is null."); } final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); if (crawlingInfo.getCreatedTime() == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException() return super.indexOf(element) } } as List<Protocol> val client =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
@Override public Integer next(Integer value) { throw new AssertionError(); } @Override public Integer previous(Integer value) { throw new AssertionError(); } @Override public long distance(Integer start, Integer end) { throw new AssertionError(); } }; public void testCreate_noMin() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
} else { if (failure != null) failures += failure } } if (failures.isNotEmpty()) { for (failure in failures) { println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
} private static final Object IGNORE_ME = new Object() { @Override public String toString() { throw new AssertionFailedError(); } }; private static final String FORMAT = "I ate %s pies."; private static void checkMessage(Exception e) { assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
public UnmodifiableIterator<E> descendingIterator() { return forward.iterator(); } @Override @GwtIncompatible("NavigableSet") ImmutableSortedSet<E> createDescendingSet() { throw new AssertionError("should never be called"); } @Override @CheckForNull public E lower(E element) { return forward.higher(element); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java
} printBoostAndQueryName(builder); builder.endObject(); } @Override protected Query doToQuery(final QueryShardContext context) throws IOException { throw new UnsupportedOperationException("Query processing is not supported."); } @Override protected boolean doEquals(final StoredLtrQueryBuilder other) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0)