Skip to content

Conversation

zhenlineo
Copy link
Contributor

Fixed a bug where the size of nanos should be int

Fixed a bug where the size of nanos should be `int`
@zhenlineo zhenlineo requested a review from lutovich April 5, 2018 13:25
Copy link
Contributor

@lutovich lutovich left a comment

Choose a reason for hiding this comment

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

@zhenlineo review completed. Made one comment. Would be also nice to add tests for zero and negative duration.

", nanoseconds=" + nanoseconds +
'}';
// print the duration in iso standard format.
if ( this == ZERO )
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this.equals(ZERO)? Then last if with "this was all zeros (but not ZERO for some reason)" comment can be removed.

@lutovich lutovich merged commit c40695e into neo4j:1.6 Apr 9, 2018
@lutovich lutovich deleted the 1.6-duration branch April 9, 2018 09:42
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