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

Rewrite in Java, drop Scala dependencies #159

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

almson
Copy link

@almson almson commented Jan 12, 2022

Resolves #160 Tests pass. This has the same behavior as 1.0.39, with fix to #152.

Most of the changes are straight conversions from Scala to Java. Use of Option and endless map and foreach has been eliminated in favor of simple if(... != null). A few things were refactored such as moved into separate files, but not much. The Java code actually ended up being more concise and definitely a lot clearer than Scala.

EDIT: I realized I should have made a separate branch with original groupId, etc. If there's interest, I'll recreate this PR.

@almson almson force-pushed the master branch 2 times, most recently from 7273222 to 506daa4 Compare January 13, 2022 09:43
@almson almson force-pushed the master branch 2 times, most recently from 2b95da9 to 21163e3 Compare February 3, 2022 13:49
@muliyul
Copy link

muliyul commented Apr 3, 2022

Please consider this PR seriously. The Scala collection dependencies really hurt.

@kyale
Copy link

kyale commented Apr 25, 2024

Why is nobody merging this?

@muliyul
Copy link

muliyul commented Dec 25, 2024

@mbknor who is the active maintainer?

@almson
Copy link
Author

almson commented Dec 28, 2024

@muliyul @kyale Thank you for the support. Expecting a project to switch languages and accept a rewrite pull request is a tall order. Feel free to just switch to my fork. It's on Maven, I've been updating it with features/fixes (see the master 1.1.2 branch), and will take PRs.

Beside, this project brags in the README "Benefits: Simple implementation - Just one file" The file is 1500 lines. So idk what you can expect from the maintainer.

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.

Rewrite in Java, drop Scala dependencies
3 participants