Skip to content

Conversation

@JavaSaBr
Copy link
Owner

@JavaSaBr JavaSaBr commented Jan 30, 2026

Pull request overview

This pull request extends the API for version 10 by migrating test assertions from JUnit to AssertJ and adding new dictionary methods (putIfAbsent and conditional remove).

Changes:

  • Migrated all test assertions from org.junit.jupiter.api.Assertions to AssertJ's fluent API across 40+ test files
  • Added putIfAbsent(key, value) method to MutableRefToRefDictionary, MutableLongToRefDictionary, and MutableIntToRefDictionary interfaces and implementations
  • Added remove(key, expectedValue) method to the same dictionary interfaces and implementations for conditional removal
  • Bumped version from 10.0.alpha10 to 10.0.alpha11

@JavaSaBr JavaSaBr self-assigned this Jan 30, 2026
Copilot AI review requested due to automatic review settings January 30, 2026 19:08
@github-actions
Copy link

Overall Project 48.89% -0.08% 🍏
Files changed 90.54% 🍏

File Coverage
MutableRefToRefDictionary.java 100% 🍏
MutableIntToRefDictionary.java 100% 🍏
MutableLongToRefDictionary.java 100% 🍏
AbstractMutableArray.java 83.7% 🍏
AbstractMutableHashBasedRefToRefDictionary.java 74.39% -2.21% 🍏
AbstractMutableHashBasedLongToRefDictionary.java 74.39% -2.21% 🍏
AbstractMutableHashBasedIntToRefDictionary.java 73.93% -2.25% 🍏

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request extends the API for version 10 by migrating test assertions from JUnit to AssertJ and adding new dictionary methods (putIfAbsent and conditional remove).

Changes:

  • Migrated all test assertions from org.junit.jupiter.api.Assertions to AssertJ's fluent API across 40+ test files
  • Added putIfAbsent(key, value) method to MutableRefToRefDictionary, MutableLongToRefDictionary, and MutableIntToRefDictionary interfaces and implementations
  • Added remove(key, expectedValue) method to the same dictionary interfaces and implementations for conditional removal
  • Bumped version from 10.0.alpha10 to 10.0.alpha11

Reviewed changes

Copilot reviewed 50 out of 51 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
build.gradle Version bump to 10.0.alpha11
README.md Updated version reference in documentation
rlib-collections/.../MutableRefToRefDictionary.java Added putIfAbsent and conditional remove method signatures
rlib-collections/.../MutableLongToRefDictionary.java Added putIfAbsent and conditional remove method signatures
rlib-collections/.../MutableIntToRefDictionary.java Added putIfAbsent and conditional remove method signatures
rlib-collections/.../AbstractMutableHashBasedRefToRefDictionary.java Implemented putIfAbsent and conditional remove methods
rlib-collections/.../AbstractMutableHashBasedLongToRefDictionary.java Implemented putIfAbsent and conditional remove methods
rlib-collections/.../AbstractMutableHashBasedIntToRefDictionary.java Implemented putIfAbsent and conditional remove methods
rlib-collections/.../MutableRefToRefDictionaryTest.java Added tests for new dictionary methods
rlib-collections/.../MutableLongToRefDictionaryTest.java Added tests for new dictionary methods
rlib-collections/.../MutableIntToRefDictionaryTest.java Added tests for new dictionary methods
All test files (40+ files) Migrated assertions from JUnit to AssertJ

@github-actions
Copy link

Overall Project 48.85% -0.08% 🍏
Files changed 90.63% 🍏

File Coverage
MutableRefToRefDictionary.java 100% 🍏
MutableIntToRefDictionary.java 100% 🍏
MutableLongToRefDictionary.java 100% 🍏
AbstractMutableArray.java 83.7% 🍏
AbstractMutableHashBasedRefToRefDictionary.java 74.45% -2.2% 🍏
AbstractMutableHashBasedLongToRefDictionary.java 74.45% -2.2% 🍏
AbstractMutableHashBasedIntToRefDictionary.java 73.99% -2.24% 🍏

@JavaSaBr JavaSaBr added this to the 10.0 milestone Jan 30, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 50 out of 51 changed files in this pull request and generated no new comments.

@JavaSaBr JavaSaBr merged commit 79e322b into develop Jan 30, 2026
12 checks passed
@JavaSaBr JavaSaBr deleted the extend-api-v10 branch January 30, 2026 19:24
@github-actions
Copy link

Overall Project 48.87% -0.08% 🍏
Files changed 90.63% 🍏

File Coverage
MutableRefToRefDictionary.java 100% 🍏
MutableIntToRefDictionary.java 100% 🍏
MutableLongToRefDictionary.java 100% 🍏
AbstractMutableArray.java 83.7% 🍏
AbstractMutableHashBasedRefToRefDictionary.java 74.45% -2.2% 🍏
AbstractMutableHashBasedLongToRefDictionary.java 74.45% -2.2% 🍏
AbstractMutableHashBasedIntToRefDictionary.java 73.99% -2.24% 🍏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants