Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 17 (0.17 sec)

  1. 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)
  2. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

            }
    
            return false;
        }
    
        public void add(ArtifactFilter artifactFilter) {
            filters.add(artifactFilter);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + filters.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

            this.type = type;
        }
    
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

            this.scope = scope;
    
            addScopeInternal(scope);
        }
    
        public String getScope() {
            return scope;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + (scope != null ? scope.hashCode() : 0);
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            this.scopes.add(scope);
    
            addScopeInternal(scope);
        }
    
        public Set<String> getScopes() {
            return scopes;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + scopes.hashCode();
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

                    } else {
                        this.repositories.add(repository);
                    }
                }
                this.filter = extensionFilter;
    
                int hash = 17;
                hash = hash * 31 + CacheUtils.pluginHashCode(plugin);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

        }
    
        @Override
        public String getUrl() {
            return userLocalArtifactRepository.getUrl();
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + (buildReactor == null ? 0 : buildReactor.hashCode());
            hash = hash * 31 + (ideWorkspace == null ? 0 : ideWorkspace.hashCode());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToResolve));
                this.aggregating = aggregating;
    
                int hash = 17;
                hash = hash * 31 + Objects.hashCode(groupId);
                hash = hash * 31 + Objects.hashCode(artifactId);
                hash = hash * 31 + Objects.hashCode(version);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                }
                this.parentRealm = parentRealm;
                this.foreignImports = (foreignImports != null) ? foreignImports : Collections.emptyMap();
                this.filter = dependencyFilter;
    
                int hash = 17;
                hash = hash * 31 + CacheUtils.pluginHashCode(plugin);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

                return false;
            }
    
            id = artifact.getGroupId() + ':' + id;
    
            return !excludes.contains(id);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + excludes.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top