Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Integer (0.24 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                String s = policy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                return Integer.parseInt(s);
            } else {
                return Integer.MAX_VALUE;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
                int x = Integer.parseInt(valueTokens.get(i));
                int y = Integer.parseInt(rangeValueTokens.get(i));
                if (x < y) {
                    return -1;
                } else if (x > y) {
                    return 1;
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

         *
         * @param target the target location
         * @param source the source location
         * @param indices the list of integers for the indices
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

             * is interested in, i.e. all phases up to and including the specified phase.
             */
    
            Map<String, Map<Integer, List<MojoExecution>>> mappings = new LinkedHashMap<>();
    
            for (String phase : lifecycle.getPhases()) {
                Map<Integer, List<MojoExecution>> phaseBindings = new TreeMap<>();
    
                mappings.put(phase, phaseBindings);
    
                if (phase.equals(lifecyclePhase)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

     */
    public class DefaultProjectDependencyGraph implements ProjectDependencyGraph {
    
        private final ProjectSorter sorter;
    
        private final List<MavenProject> allProjects;
    
        private final Map<MavenProject, Integer> order;
    
        private final Map<String, MavenProject> projects;
    
        /**
         * Creates a new project dependency graph based on the specified projects.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

     */
    // TODO Kristian wonders if this class really is necessary and if it overlaps other concepts.
    public final class ProjectIndex {
    
        private final Map<String, MavenProject> projects;
    
        private final Map<String, Integer> indices;
    
        public ProjectIndex(List<MavenProject> projects) {
            this.projects = new HashMap<>(projects.size() * 2);
            this.indices = new HashMap<>(projects.size() * 2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public static final IntItem ZERO = new IntItem();
    
            private IntItem() {
                this.value = 0;
            }
    
            IntItem(String str) {
                this.value = Integer.parseInt(str);
            }
    
            @Override
            public int getType() {
                return INT_ITEM;
            }
    
            @Override
            public boolean isNull() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private PlexusContainer container;
    
        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                while ((pos = decoded.indexOf('%', pos + 1)) >= 0) {
                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null);
            assertEquals(Integer.MAX_VALUE, problem.getLineNumber());
    
            // this case is not specified, might also return -1
            problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null);
            assertEquals(Integer.MIN_VALUE, problem.getLineNumber());
        }
    
        @Test
        void testGetColumnNumber() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top