Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for init (0.12 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        ArtifactScopeEnum scope;
    
        // ------------------------------------------------------------------------
        /**
         * init graph
         */
        public MetadataGraph(int nVertices) {
            init(nVertices, 2 * nVertices);
        }
    
        public MetadataGraph(int nVertices, int nEdges) {
            init(nVertices, nEdges);
        }
        // ------------------------------------------------------------------------
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            private final Lookup lookup;
    
            @Inject
            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
            }
    
            @Override
            public void init(Context context) throws Exception {}
    
            @Override
            @SuppressWarnings("checkstyle:MissingSwitchDefault")
            public void onEvent(Object event) throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. 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)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        private static int repositoryHashCode(ArtifactRepository repository) {
            int result = 17;
            result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0);
            return result;
        }
    
        private static int repositoriesHashCode(List<ArtifactRepository> repositories) {
            int result = 17;
            for (ArtifactRepository repository : repositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            if (expr == null) {
                return null;
            }
    
            String expression = stripTokens(expr);
            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
                        String retVal = expr.substring(0, index);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top