Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 1,677 for Null (0.03 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            @Test
            @DisplayName("should handle null versions in comparison")
            void shouldHandleNullVersionsInComparison() {
                assertFalse(ModelVersionUtils.isVersionGreaterOrEqual(null, "4.1.0"));
                assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", null));
                assertFalse(ModelVersionUtils.isNewerThan410(null));
            }
        }
    
        @Nested
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

        }
    
        /**
         * The logger name for a component with a non-null hint is <code>role.hint</code>.
         * <b>Warning</b>: this does not conform to logger name as class name convention.
         * (and what about <code>null</code> and <code>default</code> hint equivalence?)
         */
        @Override
        public Logger getLoggerForComponent(String role, String hint) {
            return (null == hint
                    ? getLoggerForComponent(role)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

        /**
         * Creates an artifact.
         *
         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
        default Artifact create(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

        }
    
        @Test
        void testNullValues() {
            RequestTrace trace = new RequestTrace(null, null, null);
            assertNull(trace.context());
            assertNull(trace.parent());
            assertNull(trace.data());
        }
    
        @Test
        void testChainedTraces() {
            RequestTrace root = new RequestTrace("root", null, "root-data");
            RequestTrace level1 = new RequestTrace("level1", root, "level1-data");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.internal.xml.XmlNodeBuilder;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.codehaus.plexus.util.xml.pull.MXParser;
    import org.codehaus.plexus.util.xml.pull.XmlPullParser;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    import org.eclipse.sisu.Priority;
    import org.eclipse.sisu.bean.BeanProperties;
    import org.eclipse.sisu.bean.BeanProperty;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

         */
        @Nonnull
        String getArtifactId();
    
        /**
         * Returns the classifier of the artifact.
         *
         * @return the classifier or an empty string if none, never {@code null}
         */
        @Nonnull
        String getClassifier();
    
        /**
         * {@return the specific version, range of versions, or meta-version of the artifact}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class InterpolatorException extends MavenException {
    
        /**
         * Constructs a new InterpolatorException with {@code null} as its
         * detail message. The cause is not initialized, and may subsequently be
         * initialized by a call to {@link #initCause}.
         */
        public InterpolatorException() {}
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

            artifactResolver.resolveTransitively(
                    Collections.singleton(g), projectArtifact, remoteRepositories(), localRepository(), null);
    
            // we want to see all top-level thread groups
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    
            ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()];
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. tests/test_request_params/test_file/test_optional.py

            "properties": {
                "p": {
                    "anyOf": [
                        {"type": "string", "format": "binary"},
                        {"type": "null"},
                    ],
                    "title": "P",
                }
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. tests/test_request_params/test_form/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top