Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Tretter (1.04 sec)

  1. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            }
            if (size >= 0 && progressedSize > size) {
                throw new IllegalArgumentException(
                        "progressed file size cannot be greater than size: " + progressedSize + " > " + size);
            }
    
            if (size >= 0L && progressedSize != size) {
                ScaleUnit unit = ScaleUnit.getScaleUnit(size);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            this.delegate = requireNonNull(delegate);
            if (queueSize < 1 || batchMaxSize < 1) {
                throw new IllegalArgumentException("Queue and batch sizes must be greater than 1");
            }
            this.batchMaxSize = batchMaxSize;
            this.blockOnLastEvent = blockOnLastEvent;
    
            this.eventQueue = new ArrayBlockingQueue<>(queueSize);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            ArtifactVersion matched = null;
            for (ArtifactVersion version : versions) {
                if (containsVersion(version)) {
                    // valid - check if it is greater than the currently matched version
                    if (matched == null || version.compareTo(matched) > 0) {
                        matched = version;
                    }
                }
            }
            return matched;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                }
            }
            return null;
        }
    
        private boolean isSafelyCacheable(RepositorySystemSession session, Artifact artifact) {
            /*
             * The workspace/reactor is in flux so we better not assume definitive information for any of its
             * artifacts/projects.
             */
    
            WorkspaceReader workspace = session.getWorkspaceReader();
            if (workspace == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    slf4jLogger.debug(buff.toString());
                }
            }
        }
    
        // Needed to make this method package visible to make writing a unit test possible
        // Maybe it's better to move some of those methods to separate class (SoC).
        void properties(CliRequest cliRequest) throws Exception {
            Properties paths = new Properties();
            if (cliRequest.topDirectory != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. src/mdo/java/WrapperList.java

            this.setter = setter;
            this.mapper = mapper;
            this.revMapper = revMapper;
        }
    
        @Override
        public T get(int index) {
            return mapper.apply(getter.get().get(index));
        }
    
        @Override
        public int size() {
            return getter.get().size();
        }
    
        @Override
        public boolean add(T t) {
            Objects.requireNonNull(t);
            if (setter != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/mdo/java/WrapperProperties.java

        final Supplier<Map<String, String>> getter;
        final Consumer<Properties> setter;
    
        WrapperProperties(Supplier<Map<String, String>> getter, Consumer<Properties> setter) {
            this.getter = getter;
            this.setter = setter;
        }
    
        @Override
        public String getProperty(String key) {
            return getter.get().get(key);
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         *
         * @deprecated This method is unreliable because it does not consider other dependency properties.
         * See {@link org.apache.maven.api.JavaPathType} instead for better analysis.
         */
        @Deprecated
        public List<String> getCompileClasspathElements() throws DependencyResolutionRequiredException {
            return getClasspathElements(MavenProject::isCompilePathElement, false);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
Back to top