Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 218 for requireNonNull (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        private final DefaultLifecycles defaultLifeCycles;
    
        @Inject
        public DefaultLifecyclePluginAnalyzer(Lookup lookup, DefaultLifecycles defaultLifeCycles) {
            this.lookup = requireNonNull(lookup);
            this.defaultLifeCycles = requireNonNull(defaultLifeCycles);
        }
    
        // These methods deal with construction intact Plugin object that look like they come from a standard
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

         * @param severity
         * @param version
         */
        public ModelProblemCollectorRequest(Severity severity, Version version) {
            this.severity = Objects.requireNonNull(severity, "severity cannot be null");
            this.version = Objects.requireNonNull(version, "version cannot be null");
        }
    
        public Severity getSeverity() {
            return severity;
        }
    
        public Version getVersion() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java

    package org.apache.maven.cling.invoker;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.function.Supplier;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A thin wrapper for a {@link Path} that serves as "current working directory" value. Hence, this class
     * is mutable (as CWD may be changed), but allows transition only to existing directories.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

    import org.eclipse.aether.util.graph.transformer.SimpleOptionalitySelector;
    import org.eclipse.aether.util.repository.SimpleArtifactDescriptorPolicy;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A simple {@link Supplier} of {@link SessionBuilder} instances, that on each call supplies newly
     * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Collects settings that control the building of effective settings.
     */
    @Experimental
    @Immutable
    public interface SettingsBuilderRequest extends Request<ProtoSession> {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    public class DefaultArtifactHandler implements ArtifactHandler {
        private final String type;
    
        private String extension;
    
        private String classifier;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           *
           * This read is guaranteed to get us the right value because we only set this once (here).
           *
           * requireNonNull is safe because either our compareAndSet succeeded or it failed because
           * another thread did it for us.
           */
          seenExceptionsLocal = requireNonNull(seenExceptionsField);
        }
        return seenExceptionsLocal;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

    import org.apache.maven.plugin.logging.Log;
    import org.slf4j.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    public class MojoLogWrapper implements Log {
        private final Logger logger;
    
        public MojoLogWrapper(Logger logger) {
            this.logger = requireNonNull(logger);
        }
    
        @Override
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableValueGraph.java

      private static <N, V> GraphConnections<N, V> connectionsOf(ValueGraph<N, V> graph, N node) {
        Function<N, V> successorNodeToValueFn =
            (N successorNode) ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(node, successorNode, null));
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ContiguousSet.java

        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top