Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 310 for NULL (0.03 seconds)

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

                    Throwable error = null;
    
                    if (project == null) {
                        project = new MavenProject();
                        project.setFile(pomFile != null ? pomFile.toFile() : null);
    
                        boolean reactorMember = pomFile != null
                                && session.getProjects() != null // this is for UTs
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Element build = root.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element cleanPlugin = plugins.child("plugin").orElse(null);
                Element executions = cleanPlugin.child("executions").orElse(null);
                Element execution = executions.child("execution").orElse(null);
                Element phase = execution.child("phase").orElse(null);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  3. architecture/standards/0008-use-nullaway.md

      * When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`.
          When doing so, still annotate nullable parameters and the return type as `@Nullable`.
      * Do not use `@Contract` for public APIs.
      * For polynull public APIs, the solution has to be decided on a case-by-case basis.
    
    Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                            lineNumber, columnNumber, source != null ? source.toApiSource() : null);
                }
            } else {
                return org.apache.maven.api.model.InputLocation.of(
                        lineNumber,
                        columnNumber,
                        source != null ? source.toApiSource() : null,
                        locations != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            this.syncContextFactory = Objects.requireNonNull(syncContextFactory, "syncContextFactory cannot be null");
            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
            this.versionScheme = Objects.requireNonNull(versionScheme, "versionScheme cannot be null");
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            // Check build/plugins
            Element buildElement = root.child(BUILD).orElse(null);
            if (buildElement != null) {
                Element pluginsElement = buildElement.child(PLUGINS).orElse(null);
                if (pluginsElement != null) {
                    hasUpgrades |= upgradePluginsInSection(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
    
            if (pluginRealm == null) {
                try {
                    setupPluginRealm(pluginDescriptor, session, null, null, null);
                } catch (PluginResolutionException e) {
                    String msg = "Cannot setup plugin realm [mojoDescriptor=" + mojoDescriptor.getId()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

            return build(session, artifactCoordinates, null, null);
        }
    
        /**
         * Creates a version range resolver request.
         *
         * @param session the session to use, must not be {@code null}
         * @param artifactCoordinates the artifact coordinates whose version range should be resolved, must not be {@code null}
         * @param repositories the repositories to use, or {@code null} to use the session's repositories
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    coreExtension.setGroupId(interpolatedTrimmed(parser.nextText(), "groupId"));
                } else if (checkFieldWithDuplicate(parser, "artifactId", null, parsed)) {
                    coreExtension.setArtifactId(interpolatedTrimmed(parser.nextText(), "artifactId"));
                } else if (checkFieldWithDuplicate(parser, "version", null, parsed)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top