- Sort Score
- Result 10 results
- Languages All
Results 1141 - 1150 of 1,808 for Try (0.01 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
new ForwardingExecutorService() { @Override protected ExecutorService delegate() { return delegate; } }; Method closeMethod; try { closeMethod = wrapper.getClass().getMethod("close"); } catch (NoSuchMethodException e) { assertThat(isAndroid() || isBeforeJava19()).isTrue(); return; // close() doesn't exist, so we can't test it. }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 18:45:52 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
} @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; final int len = readStringLength(buffer, bufferIndex, 32); try { service = new String(buffer, bufferIndex, len, "ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } bufferIndex += len + 1;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java
*/ @Override public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException { try { return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type); } catch (ComponentLookupException exception) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.LATEST_VERSION.equals(version)) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java
import org.apache.maven.api.annotations.Nonnull; /** * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals. * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple. * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should * probably roll its own. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
*/ public static File createResponseBodyFile(final ResponseData responseData) { File tempFile = null; FileOutputStream fos = null; try (final InputStream is = responseData.getResponseBody()) { tempFile = File.createTempFile("crawler-", ".tmp"); tempFile.setReadable(false, false); tempFile.setReadable(true, true);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java
logger.debug("Initialize {}", this.getClass().getSimpleName()); } if (duplicateHostList == null) { duplicateHostList = new ArrayList<>(); } try { final DuplicateHostService duplicateHostService = ComponentUtil.getComponent(DuplicateHostService.class); duplicateHostList.addAll(duplicateHostService.getDuplicateHostList());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
iterator.next(); }); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRemoveIf_unsupportedEmptyCollection() { try { assertFalse( "removeIf(Predicate) should return false or throw UnsupportedOperationException", collection.removeIf( x -> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
err = fs.MakeVol(context.Background(), "voldir") if err != nil { t.Fatal(err) } err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello")) if err != nil { t.Fatal(err) } // Try to create a file that includes a file in its path components. // In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)