Skip to content
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

Shadow com.lodborg.intervaltree into sodium #2645

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

douira
Copy link
Collaborator

@douira douira commented Aug 7, 2024

Shadows the interval tree library into sodium with insubstantial (just cleanup) modifications.

This avoids a dependency and makes modloading easier, espcially since this dependency is unlikely to get updated again or require changes.

I've copied the MIT license declaration of the original work into each file as a header with a note and a link to the library's own repo.

@jellysquid3
Copy link
Member

These changes look fine, but we might want to modernize the code for Java 8+ and remove the dead code we aren't using later.

@douira
Copy link
Collaborator Author

douira commented Aug 7, 2024

I already had IJ highlight and remove dead code. As for Java 8, it might require a more substantial refactor to change it to properly use generics throughout.

@jellysquid3
Copy link
Member

This needs to be rebased on /dev, since we just merged the multi-loader branch.

douira added 2 commits August 8, 2024 23:52
…cleanup) modifications.

This avoids a dependency and makes modloading easier, espcially since this dependency is unlikely to get updated again or require changes.
@douira douira force-pushed the shadow-interval-tree-dep branch from c7452a8 to 4d01b81 Compare August 8, 2024 22:19
@jellysquid3 jellysquid3 merged commit c117d67 into CaffeineMC:dev Aug 8, 2024
1 check passed
@douira douira deleted the shadow-interval-tree-dep branch September 14, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants