Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 3,180 for when (0.04 seconds)

  1. android/guava/src/com/google/common/io/Closeables.java

       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
       * I/O resource, it should generally be safe in the case of a resource that's being used only for
       * reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that
       * a failure that occurs when closing the stream indicates a meaningful problem such as a failure
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchJavaPluginFuncTest.groovy

            assert compileJava.targetCompatibility == JavaVersion.VERSION_1_10.toString()
            """
    
            then:
            gradleRunner("help").build()
        }
    
        def "compile option --release is configured from targetCompatibility"() {
            when:
            buildFile.text = """
                plugins {
                 id 'elasticsearch.java'
                }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

         * Model interpolation does not give same result when calculated from build or from repo...
         * This is why MNG-5000 fix in code is marked as bad practice (uses file names)
         * @throws IOException Model read problem
         */
        @Test
        void testFlatTrickyUrls() throws IOException {
            // parent references child with artifactId (which is not directory name)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchTestBasePluginFuncTest.groovy

                }
            """
    
            when:
            def result = gradleRunner("test", '-Dtests.seed=default', '-Pfoo=bar').build()
    
            then:
            result.task(':test').outcome == TaskOutcome.SUCCESS
    
            when:
            result = gradleRunner("test", '-i', '-Dtests.seed=default', '-Pfoo=baz').build()
    
            then:
            result.task(':test').outcome == TaskOutcome.UP_TO_DATE
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ArrayTable.java

     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @DisplayName("Should return root cause when set")
            void testGetRootCause() {
                Exception rootCause = new IllegalStateException("Test root cause");
                TransportException exception = new TransportException("Message", rootCause);
    
                assertEquals(rootCause, exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should return null when no root cause")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exception/GsaConfigException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when GSA (Google Search Appliance) configuration errors occur.
     * This exception extends FessSystemException and is used to handle specific
     * configuration-related issues when working with GSA integration.
     *
     */
    public class GsaConfigException extends FessSystemException {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.6.md

    * Fix panic in ControllerManager on GCE when it has a problem with creating external loadbalancer healthcheck ([#52646](https://github.com/kubernetes/kubernetes/pull/52646), [@gmarek](https://github.com/gmarek))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                Integer result = (Integer) processMethod.invoke(null, options);
                assertNotNull(result);
                assertEquals(1, result.intValue());
            } catch (Exception e) {
                // Expected behavior when components are not fully initialized
                assertTrue(e.getCause() instanceof NullPointerException || e.getCause() instanceof ContainerNotAvailableException);
            } finally {
                tempPropFile.delete();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top