-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: Refactor inventory #324
Open
ExE-Boss
wants to merge
6
commits into
master
Choose a base branch
from
refactor/inventory
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of changes: - Completed InventoryIterator to match the spec - Improved the Inventory interface - Completed JavaDoc - Now uses `java.util.Optional` instead of `null` - Methods now throw `java.lang.IndexOutOfBoundsException` if the requested slot is out of bounds
ExE-Boss
added
the
in progress
Pull requests that are not yet ready to be merged and issues that are being worked on.
label
Jun 28, 2018
ExE-Boss
added
feature
breaking change
This is going to break stuff
minecraft 1.7
Affects Minecraft 1.7.x wrappers
minecraft 1.8
Affects Minecraft 1.8.x wrappers
labels
Jun 28, 2018
Codecov Report
@@ Coverage Diff @@
## master #324 +/- ##
============================================
- Coverage 13.24% 13.21% -0.03%
- Complexity 1005 1006 +1
============================================
Files 532 532
Lines 17368 17429 +61
Branches 1803 1818 +15
============================================
+ Hits 2301 2304 +3
- Misses 14920 14978 +58
Partials 147 147
Continue to review full report at Codecov.
|
The original rule of thumb was that we accept nulls into arguments and return optionals. |
ExE-Boss
force-pushed
the
refactor/inventory
branch
from
February 21, 2019 18:50
f942ebc
to
18ac33a
Compare
ExE-Boss
force-pushed
the
refactor/inventory
branch
2 times, most recently
from
February 21, 2019 19:19
3606bc2
to
ff59b33
Compare
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking change
This is going to break stuff
feature
in progress
Pull requests that are not yet ready to be merged and issues that are being worked on.
minecraft 1.7
Affects Minecraft 1.7.x wrappers
minecraft 1.8
Affects Minecraft 1.8.x wrappers
minecraft 1.11
Affects Minecraft 1.11.x wrappers
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List of changes:
Now usesjava.util.Optional
instead ofnull
java.lang.IndexOutOfBoundsException
if the requested slot is out of bounds (fixes BWInventory may throw IOOBE for cases where Inventory doesn't. #188)