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

Refactor obsolete code and QoL improvements #329

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

ammarasyad
Copy link
Contributor

As a continuation to the previous large improvements PR to improve maintainability, reduce code footprint, and potentially improve performance, this PR will also consist of large changes (with core functionality unchanged). Things I deem unnecessary through testing will be deleted to reduce footprint.

Some unused classes may still remain as they may be an intrinsic part of the engine, though I have already deleted some useless and obsolete files. There may be some classes that are rewritten to Kotlin. I also might introduce minor QoL features or improvements (I accept suggestions too). Obsolete code will also be replaced with newer code if available.

…witch statements with proper if/if-else blocks
This can be changed to `checkPermissions` later on if desired, but for now the exception will be ignored.
…rary

Prevent unnecessary locks as the underlying implementation of `Collections.synchronizedList()` is already synchronized, save for iterators.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant