- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 2,371 for Try (0.01 seconds)
-
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
assertTrue(shutdownCalled.get()); } @Test public void test_shutdown_withoutListener() { // Test shutdown without listener should throw NullPointerException try { jobExecutor.shutdown(); fail("Expected NullPointerException"); } catch (NullPointerException e) { // Expected exception assertNotNull(e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacMac.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
extension.entry().getClassRealm(), new AbstractModule() { @Override protected void configure() { try { container .lookup(Injector.class) .discover(extension.entry().getClassRealm());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
call!!.enqueue( object : Callback { override fun onResponse( call: Call, response: Response, ) { val socket = try { checkUpgradeSuccess(response) } catch (e: IOException) { failWebSocket(e, response) response.closeQuietly() response.socket?.sink?.closeQuietly()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
} } long startTime = System.nanoTime(); boolean semaphoreAcquired = backpressureEnabled && requestSemaphore != null; try { activeRequests.incrementAndGet(); State currentState = state.get(); // Check if we should attempt reset if (currentState == State.OPEN && shouldAttemptReset()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
BytesStreamOutput streamOutput = new BytesStreamOutput(Math.min(1024, sourceBytes.length())); XContentBuilder builder = new XContentBuilder(XContentType.JSON.xContent(), streamOutput); try ( XContentParser parser = XContentType.JSON.xContent() .createParser( NamedXContentRegistry.EMPTY, DeprecationHandler.THROW_UNSUPPORTED_OPERATION,
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 17:34:14 GMT 2021 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
final List<String> subPackages = new ArrayList<>(); final String path = basePackage.replace('.', '/'); final ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); try { final Enumeration<java.net.URL> resources = classLoader.getResources(path); while (resources.hasMoreElements()) { final java.net.URL resource = resources.nextElement();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
*/ public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) { try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) { builder.flush(); return builder.getOutputStream(); } catch (final IOException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
})); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "computeIfAbsent(present, returnsCurrentValue) should return present or throw", v0(), getMap() .computeIfAbsent( k0(),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
@Override public void finalizeReferent() { references.remove(this); if (!serverSocket.isClosed()) { try { serverSocket.close(); finalizeReferentRan.set(true); } catch (IOException e) { throw new UncheckedIOException(e); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 27 21:20:19 GMT 2026 - 8.6K bytes - Click Count (0)