Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,329 for scratch (0.44 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
                    fileAuthService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                        return enc;
                    }
                }
            } catch (final Exception e) {
                if (logger.isInfoEnabled()) {
                    logger.info("Use a default encoding: " + encoding, e);
                }
            } finally {
                try {
                    bis.reset();
                } catch (final IOException e) {
                    throw new ExtractException(e);
                }
            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/DoubleMathTest.java

                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundFractionalDoubleToInt() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                        logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(),
                                response.getContentAsString());
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to send {} to {}.", body, url, e);
                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    enterLatch.countDown();
                    try {
                      new CountDownLatch(1).await(); // wait forever
                      throw new AssertionError();
                    } catch (InterruptedException e) {
                      interruptedExceptionThrown.set(true);
                      throw e;
                    } finally {
                    }
                  }
                });
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        for (cookie in cookies) {
          cookieStrings.add(cookieToString(cookie, true))
        }
        val multimap = mapOf("Set-Cookie" to cookieStrings)
        try {
          cookieHandler.put(url.toUri(), multimap)
        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                            return builder.setScript(script);
                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to process search hit: {}", hit, e);
                    }
                    return null;
                });
                resultBuf.append(count).append(" documents").append("\n");
            } catch (final Exception e) {
                logger.error("Could not update labels.", e);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

        }
    
        public void test_transform_null() {
            try {
                textTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    
        public void test_getData() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Aug 07 02:55:08 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            final SuggestWriterResult result = new SuggestWriterResult();
            try {
                client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout());
            } catch (final Exception e) {
                result.addFailure(e);
            }
            return result;
        }
    
        @Override
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 20 08:32:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top