Skip to content
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

Use property accessors for values that stay the same in branch copying methods #109

Closed
wants to merge 1 commit into from

Conversation

apeteri
Copy link
Member

@apeteri apeteri commented Aug 30, 2016

This is done to prevent accidentally using a field carrying the previous value instead of the method parameter in withT(T newValue) methods of Branch subclasses.

...BranchImpl and CDOBranchImpl copying methods; use doCreateBranch in
CDOMainBranchImpl instead of reimplementing withHeadTimestamp.
@apeteri
Copy link
Member Author

apeteri commented Feb 28, 2017

Merged with commit e292215.

@apeteri apeteri closed this Feb 28, 2017
@cmark cmark deleted the feature/branch-copy-methods branch August 8, 2019 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant