Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,782 for scratch (0.15 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantProgressLogger.java

        public String apply(String line) {
            if (line.startsWith("\r\u001b")) {
                /* We don't want to try to be a full terminal emulator but we want to
                  keep the escape sequences from leaking and catch _some_ of the
                  meaning. */
                line = line.substring(2);
                if ("[K".equals(line)) {
                    inProgressReport = true;
                }
                return null;
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                        postcard.setInterval(String.valueOf(fessConfig.getLogNotificationIntervalAsInteger()));
                        postcard.setDetails(details);
                    });
                } catch (final Exception e) {
                    logger.warn("Failed to send log notification.", e);
                } finally {
                    SMailCallbackContext.clearPreparedMessageHookOnThread();
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            int expectedStatusCode = 403;
            String expectedMessage = "Access denied";
    
            try {
                throw new WebApiException(expectedStatusCode, expectedMessage);
            } catch (WebApiException e) {
                assertEquals(expectedStatusCode, e.getStatusCode());
                assertEquals(expectedMessage, e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
                    insert(urlQueue);
                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    
        /**
         * Clears the cache.
         */
        public void clearCache() {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

                    } else {
                        String content;
                        try {
                            content = new String(InputStreamUtil.getBytes(entity.getContent()), Constants.UTF_8_CHARSET);
                        } catch (final IOException e) {
                            content = e.getMessage();
                        }
                        logger.warn("Failed to access to {}. The http status is {}.\n{}", tokenUrl, httpStatusCode, content);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test throwing and catching the exception
            String expectedMessage = "Expected error";
            try {
                throw new FessSystemException(expectedMessage);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        @Test
        public void test_throwAndCatchWithCause() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Object ceiling = self.tailSet(object).first();
          return unsafeCompare(comparator(), ceiling, object) == 0;
        } catch (ClassCastException | NoSuchElementException | NullPointerException e) {
          return false;
        }
      }
    
      /**
       * A sensible definition of {@link #remove} in terms of the {@code iterator()} method of {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                } else if (this.server.encryptedPasswords) {
                    // encrypted
                    try {
                        this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey);
                    } catch (final GeneralSecurityException e) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
        @Test
        public void test_addConstraintsDecimalMaxMessage_nullProperty() {
            try {
                messages.addConstraintsDecimalMaxMessage(null, "100");
                fail("Should throw exception for null property");
            } catch (IllegalArgumentException e) {
                // Expected
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
Back to Top