Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 218 for requireNonNull (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.deployment.DeployRequest;
    import org.eclipse.aether.installation.InstallRequest;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Inliner POM transformer. The goal of this transformer is to fix Maven 3 issue about emitting (installing, deploying)
     * unusable POMs when using CI Friendly Versions.
     *
     * @since TBD
     */
    @Singleton
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            // ## Assert ##
            assertEquals(before, after);
        }
    
        private long countTmpFiles() {
            return Arrays.stream(Objects.requireNonNull(Curl.tmpDir.listFiles())).map(File::getName)
                    .filter(s -> s.startsWith(PREFIX) && s.endsWith(SUFFIX)).count();
        }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.logging.BuildEventListener;
    import org.jline.terminal.Terminal;
    import org.slf4j.ILoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    @SuppressWarnings("VisibilityModifier")
    public class LookupContext implements AutoCloseable {
        public final InvokerRequest invokerRequest;
        public final CWD cwd;
        public final Path installationDirectory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            return new ArrayList<>(sorter.getSortedProjects());
        }
    
        @Override
        public List<MavenProject> getDownstreamProjects(MavenProject project, boolean transitive) {
            Objects.requireNonNull(project, "project cannot be null");
    
            Set<String> projectIds = new HashSet<>();
    
            getDownstreamProjects(ProjectSorter.getId(project), projectIds, transitive);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

        volatile Exception exception;
    
        public BuildStep(String name, MavenProject project, Lifecycle.Phase phase) {
            this.name = Objects.requireNonNull(name, "name cannot be null");
            this.project = Objects.requireNonNull(project, "project cannot be null");
            this.phase = phase;
        }
    
        public boolean isCreated() {
            return status.get() == CREATED;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/NullnessCasts.java

       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/NullnessCasts.java

       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * CompactHashMap.
       */
    
      private int[] requirePredecessors() {
        return requireNonNull(predecessor);
      }
    
      private int[] requireSuccessors() {
        return requireNonNull(successor);
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * CompactHashMap.
       */
    
      private int[] requirePredecessors() {
        return requireNonNull(predecessor);
      }
    
      private int[] requireSuccessors() {
        return requireNonNull(successor);
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top