- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,518 for Null (0.01 seconds)
-
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) -
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) -
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) -
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) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java
try { org.apache.maven.api.model.Model model = delegate.read(reader, strict, source != null ? source.toApiSource() : null); return new Model(model); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /** * * @param reader a reader object. * @param strict a strict object.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.2K bytes - Click Count (0) -
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) -
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) -
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) -
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 UTsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
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)