Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 900 for null (0.02 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

    import org.codehaus.plexus.util.xml.XmlStreamReader;
    import org.codehaus.plexus.util.xml.pull.EntityReplacementMap;
    import org.codehaus.plexus.util.xml.pull.MXParser;
    import org.codehaus.plexus.util.xml.pull.XmlPullParser;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     * Class CoreExtensionsXpp3Reader.
     *
    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)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.util.List): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null array returning to non-null returning is not breaking`() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

         *            information along, may be <code>null</code>.
         */
        public void merge(Model target, Model source, boolean sourceDominant, Map<?, ?> hints) {
            Objects.requireNonNull(target, "target cannot be null");
    
            if (source == null) {
                return;
            }
    
            Map<Object, Object> context = new HashMap<>();
            if (hints != null) {
                context.putAll(hints);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  4. 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)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    qualifier = version;
                    majorVersion = null;
                    minorVersion = null;
                    incrementalVersion = null;
                    buildNumber = null;
                }
            }
        }
    
        private static boolean isDigits(String cs) {
            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            if (spec == null) {
                return null;
            }
    
            VersionRange cached = CACHE_SPEC.get(spec);
            if (cached != null) {
                return cached;
            }
    
            List<Restriction> restrictions = new ArrayList<>();
            String process = spec;
            ArtifactVersion version = null;
            ArtifactVersion upperBound = null;
            ArtifactVersion lowerBound = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            if (settings.isUsePluginRegistry()) {
                addViolation(problems, Severity.WARNING, "usePluginRegistry", null, "is deprecated and has no effect.");
            }
    
            List<String> pluginGroups = settings.getPluginGroups();
    
            if (pluginGroups != null) {
                for (int i = 0; i < pluginGroups.size(); i++) {
                    String pluginGroup = pluginGroups.get(i).trim();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. 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)
Back to Top