Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for repositoryEquals (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            for (ArtifactRepository repository : repositories) {
                result = 31 * result + repositoryHashCode(repository);
            }
            return result;
        }
    
        private static boolean repositoryEquals(ArtifactRepository r1, ArtifactRepository r2) {
            if (r1 == r2) {
                return true;
            }
    
            return Objects.equals(r1.getId(), r2.getId())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<RemoteRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
        public static int repositoriesHashCode(List<RemoteRepository> repositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top