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

CSVFile: Discuss thread safety, misc improvements #91

Merged
merged 1 commit into from
Oct 14, 2017

Conversation

davisjam
Copy link
Contributor

Towards #70 and #64.

Copy link
Owner

@mauricioaniche mauricioaniche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the amazing commit. It's ready for merging.

I answered some of your comments!

}
}


/* Additional weird constructors. */
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these constructors are here to maintain compatibility of very old versions of repodriller. We may mark them as deprecated in the future.

Copy link
Contributor Author

@davisjam davisjam Oct 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that old versions are available on Maven, is there a reason to keep deprecated methods around? I think we should mark them deprecated now and remove them entirely later.


ps.flush(); /* TODO This has performance implications. */
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this dates back when repodriller crashed when an exception happens. Now that repodriller never crashes (awesome!! kk), we may leave it to the stream to decide when to flush. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussion in #92

@mauricioaniche mauricioaniche merged commit bd88aa7 into mauricioaniche:master Oct 14, 2017
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.

2 participants