-
-
Notifications
You must be signed in to change notification settings - Fork 72
MapArgument feature expansion #455
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7d69d1c
Implement optional quoting for MapArgument
willkroboth a1232df
Update MapArgument tests
willkroboth a2c96b1
Tweak error message when parsed key is missing delimiter, but is also…
willkroboth f05438d
Address some SonarCloud code smells for MapArgument
willkroboth 3332866
Throw exception when map key is missing after separator
willkroboth 2887cc6
Adjust map terminator finder logic
willkroboth 7b3ca51
Update MapArgument execution tests for new features
willkroboth fb76743
Give MapArgument tests default visibility
willkroboth 02c59f5
Extract MapArgument#doseTerminatorContinue logic
willkroboth 9aa6c84
Further extract MapArgument#doseTerminatorContinue logic
willkroboth 98ebe1b
8000
Fix escape characters in empty suggestions
willkroboth ab7564f
Update MapArgument execution tests for new features
willkroboth 452d9d9
Automatic formatting cleanup
willkroboth 72fd6e8
Move StringParser to commandapi-core
willkroboth 35b1286
Add javadocs to StringParser
willkroboth 2cf5083
Update argument_map.md documentation
willkroboth 2e4bcfe
Add note for deprecated char delimiter MapArgumentBuilder constructor…
willkroboth 6b4e6d2
Disable MD038 (no empty spaces in code) for a line.
JorelAli c001ac7
Fix trailing space in argument_map.md
JorelAli 72c7cd9
Throw exception when delimiter/separator are empty Strings
willkroboth 0f22be8
Only allow constructing the MapArgument with char delimiters
willkroboth aa044ef
Remove String delimiters from ArgumentMapTests
willkroboth 744a40e
Remove String delimiters from MapArgument documentation
willkroboth f1dadf9
Fix typo in argument_map.md
willkroboth ef1292a
Throw IllegalArgumentException when MapArgument separator is null
willkroboth 9ed3f7b
Fix dose-does typo in MapArgument comments
willkroboth 1c896bb
Remove `while(true)` loops from MapArgument
willkroboth 0353b97
Revise wording in argument_map.md
willkroboth 05002bf
Reword javadocs for MapArgumentBuilder key/value list methods
willkroboth a511a96
Add MapArgument changes to global changelog
willkroboth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Throw exception when delimiter/separator are empty Strings
This case originally threw an unhelpful IndexOutOfBounds on MapArgument line 453
- Loading branch information
commit 72c7cd9e0c05c45c46439b8cd081eb44c82f369c
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.