Exemple #1
0
 private boolean equals(ArtifactPlan other) {
   if (dest != null ? !dest.equals(other.dest) : other.dest != null) {
     return false;
   }
   return !(src != null ? !src.equals(other.src) : other.src != null)
       && artifactType.equals(other.artifactType);
 }
Exemple #2
0
 public int hashCode() {
   int result = 0;
   result = 31 * result + (src != null ? src.hashCode() : 0);
   result = 31 * result + (dest != null ? dest.hashCode() : 0);
   result = 31 * result + (artifactType != null ? artifactType.hashCode() : 0);
   return result;
 }