@Override public boolean equals( Object o ) { if ( o == this ) { return true; } if ( !( o instanceof CacheKey ) ) { return false; } CacheKey that = (CacheKey) o; return Objects.equals( groupId, that.groupId ) && Objects.equals( artifactId, that.artifactId ) && Objects.equals( version, that.version ) && Objects.equals( dependencyArtifacts, that.dependencyArtifacts ) && Objects.equals( workspace, that.workspace ) && Objects.equals( localRepo, that.localRepo ) && RepositoryUtils.repositoriesEquals( repositories, that.repositories ) && Objects.equals( collect, that.collect ) && Objects.equals( resolve, that.resolve ) && aggregating == that.aggregating; } }
@Override public boolean equals( Object o ) { if ( o == this ) { return true; } if ( !( o instanceof CacheKey ) ) { return false; } CacheKey that = (CacheKey) o; return CacheUtils.pluginEquals( plugin, that.plugin ) && Objects.equals( workspace, that.workspace ) && Objects.equals( localRepo, that.localRepo ) && RepositoryUtils.repositoriesEquals( repositories, that.repositories ) && Objects.equals( filter, that.filter ); } }
@Override public boolean equals( Object o ) { if ( o == this ) { return true; } if ( !( o instanceof CacheKey ) ) { return false; } CacheKey that = (CacheKey) o; return parentRealm == that.parentRealm && CacheUtils.pluginEquals( plugin, that.plugin ) && Objects.equals( workspace, that.workspace ) && Objects.equals( localRepo, that.localRepo ) && RepositoryUtils.repositoriesEquals( this.repositories, that.repositories ) && Objects.equals( filter, that.filter ) && Objects.equals( foreignImports, that.foreignImports ); } }
@Override public boolean equals( Object obj ) { if ( this == obj ) { return true; } if ( !( obj instanceof CacheKey ) ) { return false; } CacheKey that = (CacheKey) obj; return eq( this.artifactId, that.artifactId ) && eq( this.groupId, that.groupId ) && eq( this.version, that.version ) && eq( this.localRepo, that.localRepo ) && eq( this.workspace, that.workspace ) && RepositoryUtils.repositoriesEquals( this.repositories, that.repositories ); }