Skip to content

Fix time-series merge to correctly handle weekends#2355

Merged
jodastephen merged 2 commits intomainfrom
topic/time-series
Sep 6, 2021
Merged

Fix time-series merge to correctly handle weekends#2355
jodastephen merged 2 commits intomainfrom
topic/time-series

Conversation

@jodastephen
Copy link
Contributor

The merge method did not set the containsWeekends flag
This caused an exception on building

The merge method did not set the `containsWeekends` flag
This caused an exception on building
* @return this builder
*/
public LocalDateDoubleTimeSeriesBuilder merge(LocalDateDoublePoint point, DoubleBinaryOperator operator) {
ArgChecker.notNull(point, "point");
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you not want to leave the notNull check here?
The equivalent put(LocalDateDoublePoint point) has a similar check before delegating

@jodastephen jodastephen merged commit c0e5c4a into main Sep 6, 2021
@delete-merged-branch delete-merged-branch bot deleted the topic/time-series branch September 6, 2021 16:39
@uuilee
Copy link

uuilee commented Sep 9, 2021

Thanks for fixing!

@jodastephen jodastephen added this to the v2.11 milestone Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants