- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,926 for instanceof (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
public void test_instanceOfFessSystemException() { // Test that ContainerNotAvailableException is an instance of FessSystemException ContainerNotAvailableException exception = new ContainerNotAvailableException("test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
return exception instanceof UnsupportedOperationException || exception instanceof IllegalStateException; } }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
// Overridden to prevent a ton of boxing return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1; } @Override public int indexOf(@Nullable Object target) { // Overridden to prevent a ton of boxing if (target instanceof Short) { int i = Shorts.indexOf(array, (Short) target, start, end); if (i >= 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
// Overridden to prevent a ton of boxing return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1; } @Override public int indexOf(@Nullable Object target) { // Overridden to prevent a ton of boxing if (target instanceof Short) { int i = Shorts.indexOf(array, (Short) target, start, end); if (i >= 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/AppendableWriter.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof SmbNegotiationResponse); } @Test @DisplayName("Should return initial credits from getCredit") void testGetInitialCredits() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0)