- Sort Score
- Num 10 results
- Language All
Results 2431 - 2440 of 3,670 for throwIf (0.13 seconds)
-
src/main/java/jcifs/smb/SmbTreeConnectionTrace.java
SmbTreeConnectionTrace(final CIFSContext ctx) { super(ctx); } SmbTreeConnectionTrace(final SmbTreeConnection conn) { super(conn); } @Override protected void finalize() throws Throwable { checkRelease(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java
/** * Creates container capsule. */ @Nonnull ContainerCapsule createContainerCapsule( LookupInvoker<C> invoker, C context, CoreExtensionSelector<C> coreExtensionSelector) throws Exception;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 13 12:50:59 GMT 2025 - 1.2K bytes - Click Count (0) -
module-tests/src/main/java/okhttp3/modules/Main.java
* limitations under the License. */ package okhttp3.modules; import okhttp3.Call; import okhttp3.HttpUrl; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt")); System.out.println(call.execute().body().string()); }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 934 bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
} private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } // Negative oldCount. @CollectionFeature.Require(SUPPORTS_ADD)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
} return false; } @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return iterators[index].next(); } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/AbstractIterator.java
public final T next() { if (!hasNext()) { throw new NoSuchElementException(); } state = State.NOT_READY; // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`. T result = uncheckedCastNullableTToT(next); next = null; return result; } @Override public final void remove() { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java
try { return makeAccessible(type.getDeclaredMethod(methodName, paramTypes)); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } private static Method makeAccessible(Method method) { method.setAccessible(true); return method; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
if (!Files.isDirectory(topDirectory)) { throw new IllegalArgumentException("Directory " + topDirectory + " extracted from the -f/--file command-line argument " + arg + " does not exist"); } } else { throw new IllegalArgumentException(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
@MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedAndUnsupported() { expectNullValueMissingWhenNullValuesUnsupported( "containsValue(null) should return false or throw"); } @MapFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testContains_nonNullWhenNullContained() { initMapWithNullValue();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.3K bytes - Click Count (0)