Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2611 - 2620 of 3,670 for throwIf (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/Goal.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    /**
     * The mvnenc tool goal.
     */
    public interface Goal {
        int execute(EncryptContext context) throws Exception;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 13 14:14:56 GMT 2024
    - 973 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

        private FessCookieResourceProvider cookieResourceProvider;
        private FessConfig originalFessConfig;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

        private FessConfig originalConfig;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            originalConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            if (originalConfig != null) {
                ComponentUtil.register(originalConfig, "fessConfig");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

          return EnumMultiset.create(elements);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testEquals() throws Exception {
        new ClassSanityTester()
            .setDistinctValues(Class.class, Color.class, Gender.class)
            .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * @param timeoutMillis
         *            The time to wait (in milliseconds)
         * @return <code>true</code> if the thread has terminated
         * @throws InterruptedException
         *             If interrupted while waiting
         */
        public boolean stop(final long timeoutMillis) throws InterruptedException {
            final Thread t = this.thread;
            synchronized (this) {
                if (t == null) {
                    return true;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

    @Deprecated
    class ProjectClasspathTestType extends AbstractMavenProjectTestCase {
        static final String DIR = "projects/scope/";
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
    
            ArtifactResolver resolver = getContainer().lookup(ArtifactResolver.class, "classpath");
            DefaultArtifactDescriptorReader pomReader =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/StatsTesting.java

       * assertions about all the public instance methods of {@link LinearTransformation}, including an
       * assertion that {@link LinearTransformation#transform} and {@link LinearTransformation#slope} on
       * its inverse throws as expected.
       */
      static void assertHorizontalLinearTransformation(LinearTransformation transformation, double y) {
        assertThat(transformation.isHorizontal()).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Enums.java

        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                len += 2;
                                if (len > 256) {
                                    throw new RuntimeException("zero termination not found");
                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, UNI_ENCODING);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top