Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for init (0.14 sec)

  1. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

        }
    
        public InputLocation(int lineNumber, int columnNumber) {
            this(lineNumber, columnNumber, null, null);
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source) {
            this(lineNumber, columnNumber, source, null);
        }
    
        public InputLocation(int lineNumber, int columnNumber, InputSource source, Object selfLocationKey) {
    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)
  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. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (lowerBound != null) {
                int comparison = lowerBound.compareTo(version);
    
                if ((comparison == 0) && !lowerBoundInclusive) {
                    return false;
                }
                if (comparison > 0) {
                    return false;
                }
            }
            if (upperBound != null) {
                int comparison = upperBound.compareTo(version);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
                    return delegate.compareTo(((DefaultVersion) o).delegate);
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                    checkForUpdates = true;
                }
            } else if (updatePolicy.startsWith(UPDATE_POLICY_INTERVAL)) {
                String s = updatePolicy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                int minutes = Integer.parseInt(s);
                Calendar cal = Calendar.getInstance();
                cal.add(Calendar.MINUTE, -minutes);
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
    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)
  7. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

            return problems;
        }
    
        @Override
        public void setSource(String source) {
            this.source = source;
        }
    
        @Override
        public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
            Problem problem = new DefaultProblem(message, severity, source, line, column, cause);
    
            problems.add(problem);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(Problem.Severity severity, String message, int line, int column, Exception cause);
    
        /**
         * The next messages will be bound to this source. When calling this method again, previous messages keep
         * their source, but the next messages will use the new source.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                            }
                            advance();
                            return item;
                        }
                    };
                }
    
                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilder.java

    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * This interface is not public and the purpose is to allow easy unit testing
     * of {@link DefaultConsumerPomArtifactTransformer}.
     */
    interface ConsumerPomBuilder {
    
        Model build(RepositorySystemSession session, MavenProject project, Path src)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top