Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 3,637 for throwIf (0.05 seconds)

  1. android/guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
    
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
        GcFinalization.awaitClear(shadowLoaderReference);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

    import org.opensearch.script.ScriptType;
    
    public class UpdateLabelJobTest extends UnitFessTestCase {
    
        private UpdateLabelJob updateLabelJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            updateLabelJob = new UpdateLabelJob();
    
            // Setup mock components
            setupMockComponents();
        }
    
        private void setupMockComponents() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the graph.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = checkNonNegative(expectedNodeCount);
        return this;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    import org.lastaflute.job.LaCron;
    
    public class JobHelperTest extends UnitFessTestCase {
    
        private JobHelper jobHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            jobHelper = new JobHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID for the crawling information
         * @param create if true, creates a new crawling info regardless of existing records
         * @throws FessSystemException if unable to store the crawling session
         */
        public synchronized void store(final String sessionId, final boolean create) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

    import org.opensearch.search.sort.SortBuilders;
    
    public class QueryContextTest extends UnitFessTestCase {
    
        private QueryContext queryContext;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            // Set up FessConfig mock
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return true;
            }
    
            @Override
            public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
                    throws IOException, ServletException {
                throw new ServletException("Test error");
            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

        @Override
        protected int execute(MavenContext context) throws Exception {
            MavenExecutionRequest request = prepareMavenExecutionRequest();
            toolchains(context, request);
            populateRequest(context, context.lookup, request);
            return doExecute(context, request);
        }
    
        protected MavenExecutionRequest prepareMavenExecutionRequest() throws Exception {
            // explicitly fill in "defaults"?
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            callListeners(session, AbstractMavenLifecycleParticipant::afterSessionEnd);
        }
    
        @FunctionalInterface
        interface ListenerMethod {
            void run(AbstractMavenLifecycleParticipant listener, MavenSession session) throws MavenExecutionException;
        }
    
        private void callListeners(MavenSession session, ListenerMethod method) throws MavenExecutionException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  10. guava/src/com/google/common/collect/Queues.java

       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top