Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,426 for NULL (0.01 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        private final RepositorySystemSession session;
    
        private final RepositoryCache cache;
    
        public static ModelCache newInstance(RepositorySystemSession session) {
            if (session.getCache() == null) {
                return null;
            } else {
                return new DefaultModelCache(session);
            }
        }
    
        private DefaultModelCache(RepositorySystemSession session) {
            this.session = session;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

    /**
     * A node pointer for JXPath to support <code>Xpp3Dom</code>.
     *
     */
    class Xpp3DomNodePointer extends NodePointer {
    
        private XmlNode node;
    
        Xpp3DomNodePointer(XmlNode node) {
            super(null);
            this.node = node;
        }
    
        Xpp3DomNodePointer(NodePointer parent, XmlNode node) {
            super(parent);
            this.node = node;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java

            if (shouldSkipViolationCheckFor(member)) {
                return null;
            }
    
            SinceTagStatus since = getRepository().getSince(member);
            if (since instanceof SinceTagStatus.Present present) {
                if (present.getVersion().equals(getCurrentVersion())){
                    return null;
                } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                // the repository url contains unresolved properties and getting the basedir is not possible
                // in JDK 20+ 'new URL(string)' will fail if the string contains a curly brace
                this.basedir = null;
            } else {
                try {
                    URL url = new URL(repository.getUrl());
                    if ("file".equals(url.getProtocol())) {
                        basedir = new File(url.getPath());
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. tests/test_request_params/test_header/test_optional_list.py

            {
                "required": False,
                "schema": {
                    "anyOf": [
                        {"items": {"type": "string"}, "type": "array"},
                        {"type": "null"},
                    ],
                    "title": "P",
                },
                "name": "p",
                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. tests/test_custom_schema_fields.py

    from pydantic import BaseModel, WithJsonSchema
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        description: Annotated[
            Optional[str], WithJsonSchema({"type": ["string", "null"]})
        ] = None
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
            }
        }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), null, null, type);
            attachArtifact(project, artifact, path);
        }
    
        /**
         * Attaches a produced artifact to the project at the specified path. This is the base method
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

        static ArtifactInstallerRequest build(Session session, Collection<ProducedArtifact> artifacts) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .artifacts(requireNonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            RequestTrace trace;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

        /**
         * <b>Warning</b>: ignored (always return <code>null</code>).
         */
        @Override
        public Logger getChildLogger(String name) {
            return null;
        }
    
        @Override
        public String getName() {
            return logger.getName();
        }
    
        private void setMdc() {
            if (projectId != null && ProjectBuildLogAppender.getProjectId() == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top