- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 2,371 for Try (0.01 seconds)
-
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
try { CloseableUtil.closeQuietly(p.getInputStream()); } catch (final Exception e) { logger.warn("Could not close a process input stream.", e); } }); CommonPoolUtil.execute(() -> { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
Runtime.getRuntime().addShutdownHook(shutdownCallback); commandThread = new Thread(() -> { try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) { String command; while (true) { try { while (!reader.ready()) { ThreadUtil.sleep(1000L);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 32.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
try { SuggestCreator.Options options = new SuggestCreator.Options(); // Setup minimal mock components setupMockComponents(); Method processMethod = SuggestCreator.class.getDeclaredMethod("process", SuggestCreator.Options.class); processMethod.setAccessible(true); try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
*/ public static DocumentBuilderFactory newInstance(final boolean external) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); if (!external) { try { factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, ""); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); } catch (final Exception e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
/** Tolerant delete, try to clear as many files as possible even after a failure. */ internal fun FileSystem.deleteContents(directory: Path) { var exception: IOException? = null val files = try { list(directory) } catch (fnfe: FileNotFoundException) { return } for (file in files) { try { if (metadata(file).isDirectory) { deleteContents(file) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/util/Crypto.java
try { return MessageDigest.getInstance("MD4", getProvider()); } catch (final NoSuchAlgorithmException e) { throw new CIFSUnsupportedCryptoException(e); } } /** * Get an MD5 message digest instance. * @return MD5 digest instance */ public static MessageDigest getMD5() { try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
Gson gson = new Gson(); List<AdocFileEntry> entries; try (FileReader reader = new FileReader(jsonFile)) { entries = gson.fromJson(reader, new TypeToken<List<AdocFileEntry>>() {}.getType()); } Set<String> foundAdocFiles = new HashSet<>(); try (Stream<Path> pathStream = Files.walk(Paths.get(directoryPath))) { pathStream.filter(Files::isRegularFile)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNullsOnReturnValues_bad() throws Exception { try { tester.forAllPublicStaticMethods(BadNullsFactory.class).thatReturn(Object.class).testNulls(); } catch (AssertionError expected) { return; } fail(); } public void testNullsOnReturnValues_returnTypeFiltered() throws Exception { try { tester .forAllPublicStaticMethods(BadNullsFactory.class)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
*/ public static String DEFAULT_OEM_ENCODING = "Cp850"; static { String filename; int level; FileInputStream in = null; log = LogStream.getInstance(); try { filename = System.getProperty("jcifs_smb1.properties"); if (filename != null && filename.length() > 1) { in = new FileInputStream(filename); } Config.load(in);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertEquals(testContent, content); } @Test public void testGetContentAsStringWithoutCache() { CurlResponse response = new CurlResponse(); try { response.getContentAsString(); fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to access the content")); }Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0)