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

[JLINE3-332] Throw IllegalArgumentException in case there is no times… #333

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

snuyanzin
Copy link
Contributor

The PR suggests to fix cases mentioned in #332
it also provides junit test

Instant time = Instant.ofEpochMilli(Long.parseLong(line.substring(0, idx)));
Instant time;
try {
time = Instant.ofEpochMilli(Long.parseLong(line.substring(0, idx)));
Copy link
Member

Choose a reason for hiding this comment

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

Could you please change the 2 spaces indentation in a 4 spaces indentation ? That way, I'll merge the PR directly. Thx !

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, please let me know if I need to squash

Copy link
Member

Choose a reason for hiding this comment

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

Yes, please I'd rather have a single commit for that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done

…tamp or timestamp is wrong in HISTORY_TIMESTAMPED file.
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