- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 2,446 for instanceOf (0.42 sec)
-
src/test/java/org/codelibs/curl/CurlExceptionTest.java
CurlException exception = new CurlException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception instanceof RuntimeException); } @Test public void testConstructorWithMessageAndCause() { String message = "Test error message"; IOException cause = new IOException("IO error");
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* they are returned by the iterable's iterator. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); } ArrayDeque<E> deque = new ArrayDeque<>(); Iterables.addAll(deque, elements); return deque; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
assertUniqueKey(key); SetWithResolutionResult artifacts; if (projectArtifacts instanceof SetWithResolutionResult setWithResolutionResult) { artifacts = setWithResolutionResult; } else if (projectArtifacts instanceof ArtifactsSetWithResult artifactsSetWithResult) { artifacts = new SetWithResolutionResult(artifactsSetWithResult.getResult(), projectArtifacts);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
} @Override Violation maybeViolation(JApiCompatibility member) { if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) { return null } JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get()Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
} if (cb instanceof NameCallback nc) { String userDomain = this.getSpecifiedUserDomain(); if (this.getUsername() != null && userDomain != null) { nc.setName(this.getUsername() + "@" + userDomain); } } else if (cb instanceof PasswordCallback pc) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
src/main/java/jcifs/smb/DfsImpl.java
final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L); this._domains = entry; if (tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException) { throw (SmbAuthException) ioe; } return this._domains.map; } return null; } /** * * {@inheritDoc}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(), "Exception message should match getErrorString output"); assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
*/ @Override public boolean renewCredentials(final String locationHint, final Throwable error) { final Credentials cred = getCredentials(); if (cred instanceof final SmbRenewableCredentials renewable) { final CredentialsInternal renewed = renewable.renew(); if (renewed != null) { this.creds = renewed; return true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertNull(ex.getMessage(), "Default message should be null"); assertNull(ex.getCause(), "Default cause should be null"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException"); assertTrue(ex instanceof IOException, "Should be an IOException"); } @Test @DisplayName("Should create SpnegoException with message") void testWithMessage() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)