Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 2,833 for Null (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         *
         * @param project The project to try to resolve the artifact from, must not be <code>null</code>.
         * @param requestedArtifact The artifact to resolve, must not be <code>null</code>.
         * @return The matching artifact from the project or <code>null</code> if not found. Note that this
         */
        private Artifact findMatchingArtifact(MavenProject project, Artifact requestedArtifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_response_model/test_tutorial003.py

                                    "format": "email",
                                },
                                "full_name": {
                                    "title": "Full Name",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                },
                            },
                        },
                        "UserIn": {
                            "title": "UserIn",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            // The old broken implementation would have done:
            // var plugin = getBuild().getDelegate().getPluginsAsMap().get(pluginKey);
            // return plugin != null ? new Plugin(plugin) : null;
            // This would create a disconnected Plugin that doesn't persist changes.
    
            // The new fixed implementation does:
            // Find the plugin in the connected plugins list
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 12:50:13 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            final WorkspaceModelResolver resolver = request.getWorkspaceModelResolver();
            if (resolver == null) {
                candidateSource = getParentPomFile(childModel, childSource);
    
                if (candidateSource == null) {
                    return null;
                }
    
                File pomFile = null;
                if (candidateSource instanceof FileModelSource source) {
                    pomFile = source.getPomFile();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        assertThat(expected).hasMessageThat().isEqualTo("null");
      }
    
      public void testCheckArgument_nullMessageWithArgs_failure() {
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> checkArgument(false, null, "b", "d"));
        assertThat(e).hasMessageThat().isEqualTo("null [b, d]");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            Objects.requireNonNull(input, "input cannot be null");
    
            try (XmlStreamReader in = ReaderFactory.newXmlReader(input)) {
                return read(in, isStrict(options), getSource(options));
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

        }
    
        /**
         * Gets the model that could not be built properly.
         *
         * @return The erroneous model or {@code null} if not available.
         */
        public Model getModel() {
            if (result == null) {
                return null;
            }
            if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel();
            }
            return result.getRawModel();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

                            null,
                            "pom.xml",
                            25,
                            10,
                            null,
                            null),
                    new DefaultModelProblem(
                            "Invalid version format", ModelProblem.Severity.ERROR, null, "pom.xml", 30, 5, null, null));
            DefaultProjectBuildingResult result1 =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

         * @param repositories The plugin repositories to use for resolving the plugin's main artifact, must not be {@code
         *            null}.
         * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}.
         * @return The plugin descriptor, never {@code null}.
         */
        PluginDescriptor getPluginDescriptor(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
    
            // v1-->v3
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top