Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,687 for null (0.01 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    @Deprecated
    public class TestRepositorySystem implements RepositorySystem {
    
        private final ModelReader modelReader;
    
        private final ArtifactFactory artifactFactory;
    
        public TestRepositorySystem() {
            this(null, null);
        }
    
        @Inject
        public TestRepositorySystem(ModelReader modelReader, ArtifactFactory artifactFactory) {
            this.modelReader = modelReader;
            this.artifactFactory = artifactFactory;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
                child.setPomFile(null);
            }
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            this.target = target;
            this.session = session;
            this.sourcePathProvider = sourcePathProvider;
            this.sourceState = new AtomicReference<>(null);
        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
        }
    
        public List<TaskSegment> calculateTaskSegments(MavenSession session) throws Exception {
    
            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
            if (tasks.isEmpty()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         *
         * @return the exceptions that occurred, never {@code null}
         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the root node of the dependency graph.
         *
         * @return the root node of the dependency graph or {@code null} if none
         */
        @Nullable
        Node getRoot();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java

         */
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return The POM file or {@code null} if unknown.
         */
        File getPomFile();
    
        /**
         * Gets the project that was built.
         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

            if (distMgmt != null) {
                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
    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)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        /**
         * @return Required active project selectors, never {@code null}.
         */
        public Set<String> getRequiredActiveProjectSelectors() {
            return getProjectSelectors(pa -> !pa.optional() && pa.active());
        }
    
        /**
         * @return Optional active project selectors, never {@code null}.
         */
        public Set<String> getOptionalActiveProjectSelectors() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. tests/test_request_params/test_query/test_optional_str.py

    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
                "name": "p",
                "in": "query",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            return format(null, paths);
        }
    
        /**
         * Implementation shared with {@link Modular}.
         */
        final String[] format(String moduleName, Iterable<? extends Path> paths) {
            if (option == null) {
                throw new IllegalStateException("No option is associated to this path type.");
            }
            String prefix = (moduleName == null) ? "" : (moduleName + '=');
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
Back to Top