Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 139 for intentional (0.1 seconds)

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

    /**
     * This class models the different Docker base images that are used to build Docker distributions of Elasticsearch.
     */
    public enum DockerBase {
        CENTOS("centos:8", ""),
    
        // "latest" here is intentional, since the image name specifies "8"
        UBI("docker.elastic.co/ubi8/ubi-minimal:latest", "-ubi8"),
    
        // The Iron Bank base image is UBI (albeit hardened), but we are required to parameterize the Docker build
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

         * @param cause the underlying cause of the exception
         */
        public InvokerException(@Nullable String message, @Nullable Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Exception for intentional exit: No message or anything will be displayed, just the
         * carried exit code will be returned from invoker {@link Invoker#invoke(InvokerRequest)} method.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        @Override
        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            SmbRenewableCredentials creds = null;
    
            // Act + Assert: invoking renew() on null triggers NullPointerException
            assertThrows(NullPointerException.class, () -> {
                // Intentional NPE through dereference of a null interface reference
                creds.renew();
            });
        }
    
        @Test
        @DisplayName("Type contract: implementation is also CredentialsInternal")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0));
      }
    
      @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing.
      public void testLenientFormat() {
        assertThat(Strings.lenientFormat("%s")).isEqualTo("%s");
        assertThat(Strings.lenientFormat("%s", 5)).isEqualTo("5");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0));
      }
    
      @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing.
      public void testLenientFormat() {
        assertThat(Strings.lenientFormat("%s")).isEqualTo("%s");
        assertThat(Strings.lenientFormat("%s", 5)).isEqualTo("5");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
           * Similarly, do we really want to log the same Error more than once?
           */
          log(throwable);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12)));
        assertEquals(Range.atLeast(4), range.span(Range.atLeast(10)));
      }
    
      @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method
      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @NullMarked
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top