-
Notifications
You must be signed in to change notification settings - Fork 6
Extend API v10 #57
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
Extend API v10 #57
Conversation
|
There was a problem hiding this 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.Assertionsto 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 |
...va/javasabr/rlib/collections/dictionary/impl/AbstractMutableHashBasedRefToRefDictionary.java
Outdated
Show resolved
Hide resolved
...va/javasabr/rlib/collections/dictionary/impl/AbstractMutableHashBasedIntToRefDictionary.java
Outdated
Show resolved
Hide resolved
...va/javasabr/rlib/collections/dictionary/impl/AbstractMutableHashBasedRefToRefDictionary.java
Outdated
Show resolved
Hide resolved
...a/javasabr/rlib/collections/dictionary/impl/AbstractMutableHashBasedLongToRefDictionary.java
Outdated
Show resolved
Hide resolved
...ollections/src/main/java/javasabr/rlib/collections/dictionary/MutableRefToRefDictionary.java
Outdated
Show resolved
Hide resolved
|
There was a problem hiding this 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.
|
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:
org.junit.jupiter.api.Assertionsto AssertJ's fluent API across 40+ test filesputIfAbsent(key, value)method to MutableRefToRefDictionary, MutableLongToRefDictionary, and MutableIntToRefDictionary interfaces and implementationsremove(key, expectedValue)method to the same dictionary interfaces and implementations for conditional removal