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

Modified change method of priority queue interfaces and classes to return boolean #54

Merged
merged 2 commits into from
May 24, 2022

Conversation

cicirello
Copy link
Owner

Summary

Modified the change method of the PriorityQueue, PriorityQueueDouble, IntPriorityQueue, IntPriorityQueueDouble interfaces, and of the classes that implement them to now return a boolean. This is technically a breaking change, but not going to increment major release number because these interfaces were just introduced, and I believe my own projects are the only ones using this library at the present time, and even those haven't upgraded to the version where these interfaces were introduced. Additionally, it is only a breaking change if someone is implementing the interfaces. If they are simply using the library's implementations, then the change of return type from void to boolean will have no effect on code using the implementations.

Closing Issues

Closes #48

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvements to existing code, such as refactoring or optimizations (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@cicirello cicirello self-assigned this May 24, 2022
@cicirello cicirello added this to In progress in Computational Intelligence Research via automation May 24, 2022
@github-actions
Copy link
Contributor

JaCoCo Test Coverage Summary Statistics

  • Coverage: 100%
  • Branches: 100%

@cicirello cicirello merged commit c9663a4 into main May 24, 2022
Computational Intelligence Research automation moved this from In progress to Done May 24, 2022
@cicirello cicirello deleted the fix-change branch May 24, 2022 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

PriorityQueue interface change method return boolean
1 participant