- Sort Score
- Result 10 results
- Languages All
Results 1371 - 1380 of 1,808 for try (0.01 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
protected Deque<String> create() { TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = new LinkedList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertThrows(RuntimeCIFSException.class, () -> { throw new RuntimeCIFSException("Test exception"); }); // Test exception handling behavior try { throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause")); } catch (RuntimeCIFSException e) { assertEquals("Original message", e.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
} final ViewHelper viewHelper = ComponentUtil.getViewHelper(); final Map<String, HighlightField> highlightFields = searchHit.getHighlightFields(); try { if (highlightFields != null) { highlightFields.values().stream().forEach(highlightField -> { final String text = viewHelper.createHighlightText(highlightField);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
README.md
## Website [fess.codelibs.org](https://fess.codelibs.org/) ## Issues/Questions [discuss.codelibs.org](https://discuss.codelibs.org/c/FessEN/) ## Getting Started There are 2 ways to try Fess. The first is to download and install yourself. The second is to use [Docker](https://www.docker.com/products/docker-engine). ### Download and Install/Run
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 06:34:32 UTC 2025 - 7.2K bytes - Viewed (2) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
fessLabels = new FessLabels(); } /** * Test that assertPropertyNotNull throws exception for null input */ public void test_assertPropertyNotNull_withNull() { try { // Create a test instance that extends FessLabels TestFessLabels labels = new TestFessLabels(); labels.testAssertPropertyNotNull(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer * {@link AbstractFuture}.) * </ul> * * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*} * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* * <pre> * TimeLimiter limiter = . . .; * TargetType proxy = limiter.newProxy( * target, TargetType.class, 50, TimeUnit.MILLISECONDS); * try { * return proxy.someMethod(); * } catch (UncheckedTimeoutException e) { * return DEFAULT_VALUE; * } * </pre> * * @param target the object to proxy
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Provide a Subject in super to drive a specific LoginContext constructor branch Subject presetSubject = new Subject(); orig.setSubject(presetSubject); // Try to get a Subject, but handle the case where JAAS may not be configured Subject first = orig.getSubject(); // In test environments, getSubject() may return null if JAAS is not configured
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0)