- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 218 for requireNonNull (0.7 sec)
-
guava/src/com/google/common/collect/RegularImmutableBiMap.java
(n == entryArray.length) ? (Entry<K, V>[]) entryArray : createEntryArray(n); int hashCode = 0; for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in. Entry<K, V> entry = requireNonNull(entryArray[i]); K key = entry.getKey(); V value = entry.getValue(); checkEntryNotNull(key, value); int keyHash = key.hashCode();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java
* under the License. */ package org.apache.maven.cli.logging; import java.io.PrintStream; import org.slf4j.Logger; import org.slf4j.Marker; import static java.util.Objects.requireNonNull; /** * @since 3.1.0 */ @Deprecated public class Slf4jStdoutLogger implements Logger { private static final String ERROR = "[ERROR] "; private final PrintStream out;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 23K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
import org.apache.maven.plugin.version.PluginVersionResolutionException; import org.apache.maven.project.MavenProject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Objects.requireNonNull; /** * <p> * Calculates the task segments in the build * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 23:07:01 UTC 2024 - 6.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java
import org.apache.maven.project.MavenProject; import org.codehaus.plexus.util.xml.Xpp3Dom; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Arrays.stream; import static java.util.Objects.requireNonNull; /** * @since 3.3.1, MNG-5753 */ @Named @Singleton public class DefaultMojoExecutionConfigurator implements MojoExecutionConfigurator { private final Logger logger = LoggerFactory.getLogger(getClass());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 7.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
throw cacheRecord.getException(); } return cacheRecord; } @Override public CacheRecord put(Key key, Set<Artifact> projectArtifacts) { Objects.requireNonNull(projectArtifacts, "projectArtifacts cannot be null"); assertUniqueKey(key); SetWithResolutionResult artifacts; if (projectArtifacts instanceof SetWithResolutionResult setWithResolutionResult) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
import org.eclipse.aether.transfer.TransferEvent; import org.eclipse.aether.transfer.TransferListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static java.util.Objects.requireNonNull; /** * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it runRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
String groupId, String artifactId, String classifier, String extension, String version, String message) { this.artifact = Objects.requireNonNull(artifact, "artifact cannot be null"); this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null; this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 4.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
RepositoryEventDispatcher repositoryEventDispatcher) { this.metadataResolver = Objects.requireNonNull(metadataResolver, "metadataResolver cannot be null"); this.syncContextFactory = Objects.requireNonNull(syncContextFactory, "syncContextFactory cannot be null"); this.repositoryEventDispatcher = Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 20.2K bytes - Viewed (0)