-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEE-6082] Add specification to DataProduct #69
Conversation
@@ -74,7 +108,9 @@ public boolean equals(Object o) { | |||
DataProduct that = (DataProduct) o; | |||
return Objects.equals(inputPorts, that.inputPorts) | |||
&& Objects.equals(outputPorts, that.outputPorts) | |||
&& Objects.equals(internalComponents, that.internalComponents); | |||
&& Objects.equals(internalComponents, that.internalComponents) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ne suis pas extrêmement fan de ces méthodes equals
car elle ne comparent pas les champs du type parent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'avais corrigé les classes Dataset, Vizualisation et DataProcess sur les fonctions equals, hashcode et toString mais j'ai oublié de passer sur les classes de DataProduct :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je suis passé sur DataProduct.
f84f3c9
to
09dad17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approuvé mais il faudrait corriger les fonctions equals
, hashCode
et toString
des classes DataProduct
/** Enum representing the type of the data product. */ | ||
public enum Type { | ||
Custom, | ||
DataProductSpecificationDotCom | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comme vu ensemble : cet enum n'est finalement pas utile.
09dad17
to
6bacb49
Compare
6bacb49
to
a081c64
Compare
a081c64
to
7ff9c17
Compare
JIRA issue: https://zeenea.atlassian.net/browse/ZEE-6082
PR summary:
specification
àDataProduct
Checklist for Developer:
Checklist for Reviewer