private String effectiveRegistryName(DockerImageName dockerImageName) { return StringUtils.defaultIfEmpty(dockerImageName.getRegistry(), DEFAULT_REGISTRY_NAME); }
@java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof DockerImageName)) return false; final DockerImageName other = (DockerImageName) o; final java.lang.Object this$registry = this.getRegistry(); final java.lang.Object other$registry = other.getRegistry(); if (this$registry == null ? other$registry != null : !this$registry.equals(other$registry)) return false; final java.lang.Object this$repo = this.repo; final java.lang.Object other$repo = other.repo; if (this$repo == null ? other$repo != null : !this$repo.equals(other$repo)) return false; final java.lang.Object this$versioning = this.versioning; final java.lang.Object other$versioning = other.versioning; if (this$versioning == null ? other$versioning != null : !this$versioning.equals(other$versioning)) return false; return true; }
@java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { final int PRIME = 59; int result = 1; final java.lang.Object $registry = this.getRegistry(); result = result * PRIME + ($registry == null ? 43 : $registry.hashCode()); final java.lang.Object $repo = this.repo; result = result * PRIME + ($repo == null ? 43 : $repo.hashCode()); final java.lang.Object $versioning = this.versioning; result = result * PRIME + ($versioning == null ? 43 : $versioning.hashCode()); return result; } }
private String effectiveRegistryName(DockerImageName dockerImageName) { return StringUtils.defaultIfEmpty(dockerImageName.getRegistry(), DEFAULT_REGISTRY_NAME); }