Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,201 for because (0.16 sec)

  1. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                } catch (final CIFSException e) {
                    if (e.getCause() instanceof UnknownHostException) {
                        log.debug("Failed to find master browser", e);
                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                }
            });
    
            // Thread 2: Continuously reads trees
            executor.submit(() -> {
                try {
                    for (int i = 0; i < iterations; i++) {
                        // This would cause ConcurrentModificationException with ArrayList
                        session.getSmbTree("readshare", null);
                        successCount.incrementAndGet();
                    }
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
            assertFalse(file.exists());
            d.setSystemPath(file.getCanonicalPath());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
                authenticationManager.insert(user);
                fail("Should throw NullPointerException when processing null chain");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertEquals(SessionServicePacket.SESSION_REQUEST, readPacket.type);
            assertTrue(bytesRead > 0);
        }
    
        @Test
        @DisplayName("Empty InputStream should cause IOException")
        void testReadTrailerWireFormatEmptyStream() {
            ByteArrayInputStream emptyStream = new ByteArrayInputStream(new byte[0]);
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         */
        protected String detailedMessage(final Throwable t) {
            if (t == null) {
                return "Unknown";
            }
            Throwable target = t;
            if (target.getCause() == null) {
                return target.getClass().getSimpleName() + "[" + target.getMessage() + "]";
            }
            final StringBuilder sb = new StringBuilder();
            while (target != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertEquals(share, shareCap.getValue());
            assertEquals(svc, svcCap.getValue());
        }
    
        // Edge/invalid inputs: null or empty share/service cause IllegalArgumentException (mocked)
        @ParameterizedTest
        @DisplayName("getSmbTree invalid inputs (null/empty) throw IllegalArgumentException")
        @CsvSource({ ",service", // null share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              coordinatorWakeUpAt = now + minDelayNanos
              try {
                backend.coordinatorWait(this@TaskRunner, minDelayNanos)
              } catch (_: InterruptedException) {
                // Will cause all tasks to exit unless more are scheduled!
                cancelAll()
              } finally {
                coordinatorWaiting = false
              }
            }
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private Object invokeGeneratorMethod(Method generator, Object... args) {
        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top