- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 2,371 for Try (0.02 seconds)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
try { for (int i = 0; i < iterations; i++) { try { Files.createDirectories(changingFile); Files.createFile(dirToDelete.resolve("j/k")); } catch (FileAlreadyExistsException expected) { // if a file already exists, that's fine... just continue } try { method.delete(dirToDelete);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (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 theCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (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()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
private static final String ID_FIELD = "_id"; /** * Test behavior when no searchers are registered (empty list). */ @Test public void test_emptySearcherList() throws Exception { try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.init(); // Should handle empty searcher list gracefullyCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
String testKey = "test.property"; String systemValue = "system-value"; System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, systemValue); try { // Test that system property takes precedence String value = fessConfig.get(testKey); assertEquals(systemValue, value); } finally { // Clean up system property
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
try { getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
final Set<RequestParam> params) throws CIFSException { try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) { if (response != null) { response.clearReceived(); } // try TreeConnectAndX with the request // this does not make any sense if we are disconnecting right now
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
throws PluginManagerException, ComponentLookupException { MavenSession session = legacySupport.getSession(); PluginDescriptor pluginDescriptor; try { pluginDescriptor = pluginManager.getPluginDescriptor( plugin, session.getCurrentProject().getRemotePluginRepositories(), session.getRepositorySession());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
assertArgumentNotNull("in", in); assertArgumentNotNull("out", out); final FileInputStream is = InputStreamUtil.create(in); try { final FileOutputStream os = OutputStreamUtil.create(out); try { return copyInternal(is, os); } finally { CloseableUtil.close(os); } } finally {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (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); } @Test public void test_sendCommand_jobNotFound() { try { processHelper.sendCommand("nonexistent", "test command"); fail("Expected JobNotFoundException"); } catch (JobNotFoundException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0)