Skip to content

chore(cloud-brigadier): refactor the code#525

Merged
Citymonstret merged 14 commits into2.0.0-devfrom
chore/2.0.0/refactor-brig
Dec 1, 2023
Merged

chore(cloud-brigadier): refactor the code#525
Citymonstret merged 14 commits into2.0.0-devfrom
chore/2.0.0/refactor-brig

Conversation

@Citymonstret
Copy link
Copy Markdown
Member

@Citymonstret Citymonstret commented Nov 26, 2023

It was becoming impossible to follow what is happening in CloudBrigadierManager and there was a lot of repeated code. This refactoring does not change any functionality.

This depends on #522, and will be marked as ready once that has been merged into 2.0.0-dev.

Alexander Söderberg added 8 commits November 26, 2023 14:51
Aggregate parsers is a more flexible version of the compound parser.
It was becoming impossible to follow what is happening in CloudBrigadierManager and there was a lot of repeated code. This refactoring does not change any functionality.
@Citymonstret Citymonstret added this to the 2.0.0 milestone Nov 26, 2023
@Citymonstret Citymonstret self-assigned this Nov 26, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 26, 2023

Test Results

  70 files  +1    70 suites  +1   13s ⏱️ -6s
449 tests +2  449 ✔️ +2  0 💤 ±0  0 ±0 
461 runs  +2  461 ✔️ +2  0 💤 ±0  0 ±0 

Results for commit 4daf239. ± Comparison against base commit b9b23bd.

♻️ This comment has been updated with latest results.

Base automatically changed from feature/2.0.0/aggregate-parsers to 2.0.0-dev November 29, 2023 06:15
Alexander Söderberg added 4 commits November 29, 2023 07:17
# Conflicts:
#	cloud-minecraft/cloud-brigadier/src/main/java/cloud/commandframework/brigadier/CloudBrigadierManager.java
# Conflicts:
#	cloud-minecraft/cloud-brigadier/src/main/java/cloud/commandframework/brigadier/CloudBrigadierManager.java
#	cloud-minecraft/cloud-paper/src/main/java/cloud/commandframework/paper/PaperBrigadierListener.java
@Citymonstret Citymonstret marked this pull request as ready for review November 30, 2023 18:52
@Citymonstret Citymonstret force-pushed the chore/2.0.0/refactor-brig branch from 02dc9e6 to 4daf239 Compare December 1, 2023 11:06
@Citymonstret Citymonstret merged commit 3647a0b into 2.0.0-dev Dec 1, 2023
@Citymonstret Citymonstret deleted the chore/2.0.0/refactor-brig branch December 1, 2023 14:23
@Citymonstret Citymonstret mentioned this pull request Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant