- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 2,515 for NULL (0.13 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
* @param mavenProject the requested project * @return The projectSegment or null. */ public ProjectSegment findByMavenProject(MavenProject mavenProject) { return items.stream() .filter(pb -> mavenProject.equals(pb.getProject())) .findFirst() .orElse(null); } @Override public Iterator<ProjectSegment> iterator() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
while ((queuedTask = executingTaskQueue.nextTask) != null && (queuedExecutor = executingTaskQueue.nextExecutor) != null) { executingTaskQueue.nextTask = null; executingTaskQueue.nextExecutor = null; queuedExecutor.execute(queuedTask); } } finally { // Null out the thread field, so that we don't leak a reference to Thread, and so that
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
request = new CliRequest(new String[] {"-B"}, null); cli.cli(request); cli.properties(request); cli.logging(request); assertFalse(MessageUtils.isColorEnabled(), "Expected MessageUtils.isColorEnabled() to return false"); MessageUtils.setColorEnabled(true); request = new CliRequest(new String[] {"--non-interactive"}, null); cli.cli(request);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
class ProblemCollectorFactoryTest { @Test void testNewInstance() { ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null); Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null); ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem)); assertNotSame(collector1, collector2);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jul 20 20:19:43 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
return distributionName + " " + (version != null ? version : "<version unknown>") + (rev != null ? " (" + rev + ")" : ""); } private static String reduce(String s) { return (s != null ? (s.startsWith("${") && s.endsWith("}") ? null : s) : null); } public static Properties getBuildProperties() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
public void testToString_addValueWithNullValue() { String result = MoreObjects.toStringHelper(new TestClass()) .addValue(null) .addValue("Hello") .addValue(null) .toString(); String expected = "TestClass{null, Hello, null}"; assertEquals(expected, result); } public void testToStringLenient_addValueWithNullValue() { String result =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 21.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
return; } map.put(null, unmappedValue); assertEquals(unmappedValue, map.get(null)); assertTrue(map.containsKey(null)); Entry<@Nullable K, V> entry = mapEntry(null, unmappedValue); assertTrue(entrySet.remove(entry)); assertNull(map.get(null)); assertFalse(map.containsKey(null)); } public void testEntrySetRemoveNullKeyMissing() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
if (classpath == null || classpath.isEmpty()) { return null; } MetadataTreeNode tree = null; MetadataTreeNode parent = null; for (ArtifactMetadata md : classpath) { MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope()); if (tree == null) { tree = node; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
* {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}. */ ALLOWS_NULL_VALUE_QUERIES,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
append(tags) } append('}') } open class Builder { internal var url: HttpUrl? = null internal var method: String internal var headers: Headers.Builder internal var body: RequestBody? = null internal var cacheUrlOverride: HttpUrl? = null internal var tags: Tags = EmptyTags constructor() { this.method = "GET" this.headers = Headers.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1)