lokendra005 commented on PR #4507:
URL: https://github.com/apache/gravitino/pull/4507#issuecomment-2289722722
@justinmclean can I make a separate class for distribution??
public class DistributionImpl implements Distribution {
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
Distribution that = (Distribution) obj;
return number() == that.number()
&& strategy().equals(that.strategy())
&& Arrays.equals(expressions(), that.expressions());
}
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]