Closed curoli closed 7 years ago
I'd rather not do this, as equals
is supposed to be bitwise/value-based equality, whereas eq
indicates reference equality.
Where was equals
and hashCode
being called that motivated these changes? I share @danbills's concerns about changing these to mean reference equality, it may make more sense to change the way we're using GraphNode
s.
Should this PR be moved to Cromwell now that we merged wdl4s into the cromwell repo ?
I guess it should. How do I do that?
On Wed, Oct 11, 2017 at 10:34 AM, Thib notifications@github.com wrote:
Should this PR be moved to Cromwell now that we merged wdl4s into the cromwell repo ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/wdl4s/pull/249#issuecomment-335831466, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_4aP2jdz_5l56fsGN2vqrQ-bOfpRxgks5srNIMgaJpZM4Pt3Cd .
-- Oliver Ruebenacker Senior Software Engineer, Diabetes Portal http://www.type2diabetesgenetics.org/, Broad Institute http://www.broadinstitute.org/
You could do that https://stackoverflow.com/a/5120074/1498572
@curoli Just curious about the status on this, I actually would benefit from it in a branch I have :)
Working on it. Hope to finish today.
On Thu, Oct 12, 2017 at 10:46 AM, Thib notifications@github.com wrote:
@curoli https://github.com/curoli Just curious about the status on this, I actually would benefit from it in a branch I have :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/wdl4s/pull/249#issuecomment-336160163, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_4aBAv1jNtzaaDNObsIKyct3v9pXxwks5sriZPgaJpZM4Pt3Cd .
-- Oliver Ruebenacker Senior Software Engineer, Diabetes Portal http://www.type2diabetesgenetics.org/, Broad Institute http://www.broadinstitute.org/
Submitted PR. Planning to merge once Travis builds pass.
On Thu, Oct 12, 2017 at 1:15 PM, Oliver Ruebenacker < oliverr@broadinstitute.org> wrote:
Working on it. Hope to finish today.
On Thu, Oct 12, 2017 at 10:46 AM, Thib notifications@github.com wrote:
@curoli https://github.com/curoli Just curious about the status on this, I actually would benefit from it in a branch I have :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/wdl4s/pull/249#issuecomment-336160163, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_4aBAv1jNtzaaDNObsIKyct3v9pXxwks5sriZPgaJpZM4Pt3Cd .
-- Oliver Ruebenacker Senior Software Engineer, Diabetes Portal http://www.type2diabetesgenetics.org/, Broad Institute http://www.broadinstitute.org/
-- Oliver Ruebenacker Senior Software Engineer, Diabetes Portal http://www.type2diabetesgenetics.org/, Broad Institute http://www.broadinstitute.org/
Switched GraphNode.equals and GraphNode.hashCode to object identity-based equality instead of component-based.
Updated two unit tests that relied on conponent-based equality.