- Sort Score
- Num 10 results
- Language All
Results 2351 - 2360 of 2,948 for throwIf (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/Platform.java
ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/Platform.java
ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
if (mimetype != null) { return mimetype; } return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(is); } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
*/ public static HandleType fromValue(int value) { for (HandleType type : values()) { if (type.value == value) { return type; } } throw new IllegalArgumentException("Unknown handle type value: " + value); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.7K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.run.gradle
setting 'xpack.graph.enabled', 'true' setting 'xpack.watcher.enabled', 'true' setting 'xpack.license.self_generated.type', 'trial' } else if (licenseType != 'basic') { throw new IllegalArgumentException("Unsupported self-generated license type: [" + licenseType + "[basic] or [trial].") } setting 'xpack.security.enabled', 'true' keystore 'bootstrap.password', 'password'
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "LDAP authentication failed"; try { throw new LdapOperationException(expectedMessage); } catch (LdapOperationException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
@Override protected String prepareConfigFile() { return "test_app.xml"; } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo); } @Override protected boolean isAssertionEqualsNumberInsensitive() { return true; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors"); } @Test @DisplayName("Fields are public static final Strings with expected values") void fieldModifiersAndTypes() throws Exception { Map<String, String> expected = Map.of("SPNEGO_MECHANISM", "1.3.6.1.5.5.2", "KERBEROS_MECHANISM", "1.2.840.113554.1.2.2",
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
private val server = TestStreams(taskFaker, sockets[1], client = false) @BeforeEach fun setUp() { client.initWebSocket(random) server.initWebSocket(random) } @AfterEach @Throws(Exception::class) fun tearDown() { client.listener.assertExhausted() server.listener.assertExhausted() server.source.close() client.source.close() taskFaker.runTasks()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertFalse(exception.isFileSystemError()); assertTrue(exception.isTransientError()); } @Test @DisplayName("Should track elapsed time") void testElapsedTime() throws InterruptedException { // Given exception = new SmbOperationException(SmbOperationException.ErrorCode.BUSY, "Server busy"); // When Thread.sleep(100); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0)