- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,654 for Try (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
} public void test_init() { SuggestHelper helper = new SuggestHelper(); try { helper.init(); assertNotNull(helper.suggester()); } catch (Exception e) { assertTrue(true); } } public void test_suggester() { try { assertNull(suggestHelper.suggester()); } catch (Exception e) { assertTrue(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
private void loadPersistedHandles() { if (!Files.exists(stateDirectory)) { return; } try (DirectoryStream<Path> stream = Files.newDirectoryStream(stateDirectory, "*.handle")) { for (Path handleFile : stream) { try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(handleFile))) { HandleInfo info = (HandleInfo) ois.readObject();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
*/ private void emergencyCleanup() { try { // Force usage count to zero to trigger cleanup this.usageCount.set(0); synchronized (this) { // Emergency release of transport if (this.transportAcquired.compareAndSet(true, false)) { try { this.transport.release();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); } } @Test void testConstructorWithNormalKey() throws NoSuchAlgorithmException { // Test constructor with a normal length key try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
TestCloseable c1 = closer.register(TestCloseable.normal()); TestCloseable c2 = closer.register(TestCloseable.normal()); IOException exception = new IOException(); try { try { throw exception; } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } catch (Throwable expected) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} } } try (CloseableIterator<SmbResource> it = SmbEnumerationUtil.doEnum(src, "*", SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null)) { while (it.hasNext()) { try (SmbResource r = it.next()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
// We can't directly verify the timeout value, but we can ensure the method doesn't throw assertTrue(true); } public void test_sendCommand_jobNotFound() { try { processHelper.sendCommand("nonexistent", "test command"); fail("Expected JobNotFoundException"); } catch (JobNotFoundException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
boolean downloaded = false; try { connectWagon(wagon, repository); boolean firstRun = true; boolean retry = true; // this will run at most twice. The first time, the firstRun flag is turned off, and if the retry flag // is set on the first run, it will be turned off and not re-set on the second try. This is because the
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
// Clear the system property to test null case String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); try { String result = SystemUtil.getSearchEngineHttpAddress(); assertNull(result); } finally { // Restore original value if it existed if (originalValue != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
@J2ktIncompatible @GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) { interrupted = true; } } } finally { if (interrupted) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0)