Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,283 for NULL (0.01 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(-1, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, 42, null);
            assertEquals(42, problem.getColumnNumber());
    
            problem = new DefaultProblem(null, null, null, -1, Integer.MAX_VALUE, null);
            assertEquals(Integer.MAX_VALUE, problem.getColumnNumber());
    
            // this case is not specified, might also return -1
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(false, p, newContext(null, null));
    
            p = p.withActivation(Activation.newInstance());
    
            assertActivation(false, p, newContext(null, null));
        }
    
        @Test
        void testWithNameOnlyUserProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(newProperties("prop", "value"), null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("1.5")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09-b03")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null returning to non-null returning is not breaking`() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

         * @return This request, never {@code null}.
         */
        SettingsBuildingRequest setGlobalSettingsSource(SettingsSource globalSettingsSource);
    
        /**
         * Gets the project settings file.
         *
         * @return The project settings file or {@code null} if none.
         * @since 4.0.0
         */
        File getProjectSettingsFile();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top