- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 2,371 for Try (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
val key = key(request.url) val snapshot: DiskLruCache.Snapshot = try { cache[key] ?: return null } catch (_: IOException) { return null // Give up because the cache cannot be read. } val entry: Entry = try { Entry(snapshot.getSource(ENTRY_METADATA)) } catch (_: IOException) { snapshot.closeQuietly()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} finally { // Clean up - delete all files in the directory first try { Files.walk(tempDir) .sorted(java.util.Comparator.reverseOrder()) .forEach(path -> { try { Files.deleteIfExists(path); } catch (Exception e) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type) throws ComponentConfigurationException { String value = configuration.getValue(); try { Object result = null; if (null != value && !value.isEmpty()) { if (evaluator instanceof TypeAwareExpressionEvaluator typeAwareExpressionEvaluator) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
if (boost != null) { return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 17.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
@GwtCompatible public final class Throwables { private Throwables() {} /** * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage: * * <pre> * for (Foo foo : foos) { * try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * } * if (failure != null) { * throwIfInstanceOf(failure, BarException.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; byte[] passwordBytes; try { passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee); } int passwordLength = passwordBytes.length;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} try { checkCommitsFromStdin(); } finally { THREAD_POOL.shutdown(); } } private static void checkCommitsFromStdin() throws IOException, InterruptedException, ExecutionException { String originalHead = stdout("git", "rev-parse", "HEAD").trim(); List<String> commits;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
try { MessageDigestUtil.digest(null, text); assertTrue(false); } catch (final EmptyArgumentException e) { assertTrue(true); } try { MessageDigestUtil.digest("HOGE", text); assertTrue(false);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.9K bytes - Click Count (0) -
SECURITY.md
I (the author, [@tiangolo](https://x.com/tiangolo)) will review it thoroughly and get back to you. ## Public Discussions Please restrain from publicly discussing a potential security vulnerability. 🙊
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 1.3K bytes - Click Count (0)