- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,808 for Try (0.1 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
* If the analyzer settings index does not exist, it creates it with default settings and mappings. * It also loads analyzer names and field analyzer mappings. */ public synchronized void init() { try { final IndicesExistsResponse response = client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout()); if (!response.isExists()) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (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")); }Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
equivalenceMock.expectDistinct(group1Item2, group1Item1); equivalenceMock.expectHash(group1Item1, 1); equivalenceMock.expectHash(group1Item2, 1); equivalenceMock.replay(); try { tester.addEquivalenceGroup(group1Item1, group1Item2).test(); } catch (AssertionFailedError expected) { assertThat(expected) .hasMessageThat() .contains(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
String host = parsedHost.getHost(); // Try to interpret the specifier as an IP address. Note we build // the address rather than using the .is* methods because we want to // use InetAddresses.toUriString to convert the result to a string in // canonical form. InetAddress addr = null; try { addr = InetAddresses.forString(host); } catch (IllegalArgumentException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
equivalenceMock.expectDistinct(group1Item2, group1Item1); equivalenceMock.expectHash(group1Item1, 1); equivalenceMock.expectHash(group1Item2, 1); equivalenceMock.replay(); try { tester.addEquivalenceGroup(group1Item1, group1Item2).test(); } catch (AssertionFailedError expected) { assertThat(expected) .hasMessageThat() .contains(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return An {@link InputStream} to read the resource represented by the URL. */ public static InputStream openStream(final URL url) { assertArgumentNotNull("url", url); try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection.getInputStream(); } catch (final IOException e) {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertEquals(result, fsClient.preprocessUri(value)); } public void test_preprocessUri_null() { try { fsClient.preprocessUri(null); fail(); } catch (final CrawlerSystemException e) {} try { fsClient.preprocessUri(""); fail(); } catch (final CrawlerSystemException e) {} }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
} }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder(); try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { CharStreams.copy(reader, sb); } return sb.toString(); } },Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ticket"); } ASN1Sequence sequence; try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0)