Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for intentional (0.07 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K 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 Dec 28 03:35:09 GMT 2025
    - 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 Dec 28 03:35:09 GMT 2025
    - 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. android/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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip
    
    All this might seem contrived. And it might not be very clear how is it useful yet.
    
    These examples are intentionally simple, but show how it all works.
    
    In the chapters about security, there are utility functions that are implemented in this same way.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            return this;
        }
    
        @Override
        public List<String> getModelIds() {
            return modelIds;
        }
    
        public DefaultModelBuildingResult addModelId(String modelId) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            modelIds.add(modelId);
    
            return this;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. proguard/base.pro

    # Note: We intentionally don't add the flags we'd need to make Flags and Enums
    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 09 00:29:01 GMT 2023
    - 1.2K bytes
    - Click Count (0)
Back to Top