- Sort Score
- Num 10 results
- Language All
Results 1851 - 1860 of 3,804 for throws (0.15 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
* Android. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractFutureDefaultAtomicHelperTest extends TestCase { public void testUsingExpectedAtomicHelper() throws Exception { if (isJava8() || isAndroid()) { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProvider.java
* * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}. * @return The super POM, never {@code null}. * @throws SuperPomProviderException if the super POM could not be retrieved */ @Nonnull Model getSuperPom(@Nonnull String version);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlerLogHelperTest.java
import org.junit.jupiter.api.TestInfo; public class CrawlerLogHelperTest extends UnitFessTestCase { private CrawlerLogHelper crawlerLogHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); crawlerLogHelper = new CrawlerLogHelper(); } @Test public void test_instantiation() { assertNotNull(crawlerLogHelper); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
return byteSource.wasStreamOpened(); } @Override public boolean wasStreamClosed() { return byteSource.wasStreamClosed(); } @Override public Reader openStream() throws IOException { return new InputStreamReader(byteSource.openStream(), UTF_8); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
} @Override protected Map<K, V> delegate() { return delegate; } /** Returns its input, or throws an exception if this is not a valid key. */ @CanIgnoreReturnValue @ParametricNullness K checkKey(@ParametricNullness K key) { return key; } /** Returns its input, or throws an exception if this is not a valid value. */ @CanIgnoreReturnValue @ParametricNullness
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBiMap.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMap(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int size = stream.readInt();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 25.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java
*/ public class GoActionTest extends UnitFessTestCase { private TestableGoAction goAction; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Setup protocolHelper with test configuration ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 8.3K bytes - Click Count (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
public class GwtTestSuite extends TestCase { public static Test suite() throws IOException { GWTTestSuite suite = new GWTTestSuite(); for (ClassInfo info : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) { if (info.getName().endsWith("_gwt")) { Class<?> clazz = info.load(); // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders? @SuppressWarnings("unchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.6K bytes - Click Count (0) -
maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java
import java.io.IOException; /** * Unit test for simple App. */ public class AppTest { private final MockWebServer mockWebServer = new MockWebServer(); @Test public void testApp() throws IOException { mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!")); mockWebServer.start(); new SampleHttpClient().makeCall(mockWebServer.url("/")); }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jul 12 12:05:57 GMT 2025 - 1.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
import okhttp3.Request import okhttp3.Response import okhttp3.Route class Authenticate { private val client = OkHttpClient .Builder() .authenticator( object : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (response.request.header("Authorization") != null) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0)