Skip to content

Conversation

mrrd
Copy link
Contributor

@mrrd mrrd commented Jan 16, 2018

I have found another issue when attempting to use KeepOldest strategy when sometimes the remaining and unreachable lists can be empty with an exception being generated due to the use of .First().

I have also removed some else statements Resharper pointed out were unnecessary.

starkrich and others added 2 commits January 16, 2018 14:59
If remaining and unreachable lists are empty an exception will be
encountered as soon as .First() is executed to try to find the oldest
node
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

Looks good to me

@Aaronontheweb Aaronontheweb added this to the 1.3.3 milestone Jan 16, 2018
@Aaronontheweb Aaronontheweb merged commit d83973b into akkadotnet:dev Jan 17, 2018
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.

3 participants