- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,098 for try (0.96 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
Logger logger = Logger.getLogger(ListenerCallQueue.class.getName()); logger.setLevel(Level.SEVERE); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); try { queue.dispatch(); } finally { logger.removeHandler(logHandler); } assertEquals(1, logHandler.getStoredLogRecords().size()); assertEquals(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
Logger logger = Logger.getLogger(ListenerCallQueue.class.getName()); logger.setLevel(Level.SEVERE); TestLogHandler logHandler = new TestLogHandler(); logger.addHandler(logHandler); try { queue.dispatch(); } finally { logger.removeHandler(logHandler); } assertEquals(1, logHandler.getStoredLogRecords().size()); assertEquals(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
ProjectBuildList segmentProjectBuilds = projectBuilds.getByTaskSegment(taskSegment); Map<MavenProject, ProjectSegment> projectBuildMap = projectBuilds.selectSegment(taskSegment); try { ConcurrencyDependencyGraph analyzer = new ConcurrencyDependencyGraph(segmentProjectBuilds, session.getProjectDependencyGraph()); multiThreadedProjectTaskSegmentBuild(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 16 03:42:09 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
if (delegate.isDone()) { timeoutFuture.setFuture(delegate); } else { try { @RetainedLocalRef ScheduledFuture<?> timer = timeoutFuture.timer; timeoutFuture.timer = null; // Don't include already elapsed delay in delegate.toString() String message = "Timed out"; // This try-finally block ensures that we complete the timeout future, even if attempting
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
if (DEFAULT_DOMAIN != null) { try { domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING); } catch (final IOException ex) {} } final int domainLength = domain.length; byte[] server = {}; try { final String host = NbtAddress.getLocalHost().getHostName(); if (host != null) { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
File tempFile = null; try (final InputStream is = responseData.getResponseBody()) { tempFile = File.createTempFile("crawler-", ".tmp"); tempFile.setReadable(false, false); tempFile.setReadable(true, true); tempFile.setWritable(false, false); tempFile.setWritable(true, true); try (final FileOutputStream fos = new FileOutputStream(tempFile)) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.java
* @throws IOException java.io.IOException if any. */ public void write(Writer writer, PersistedToolchains persistedToolchains) throws IOException { try { delegate.write(writer, persistedToolchains.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } /** * Method write. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat May 31 10:30:45 UTC 2025 - 2.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
// Validate endpoint before attempting connection if (StringUtil.isBlank(endpoint)) { throw new IOException("endpoint is blank."); } try { final Builder builder = MinioClient.builder().endpoint(endpoint); if (StringUtil.isNotBlank(accessKey) && StringUtil.isNotBlank(secretKey)) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:52:56 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0)