Skip to content

minor-optimizations#1

Open
TurboMaxe wants to merge 7 commits intoTuffNetwork:mainfrom
TurboMaxe:master
Open

minor-optimizations#1
TurboMaxe wants to merge 7 commits intoTuffNetwork:mainfrom
TurboMaxe:master

Conversation

@TurboMaxe
Copy link
Copy Markdown

  • updated to kotlin dsl for gradle (better tooling)
  • used version catalog (idk if it works though)
  • minor optimizations in some of the files
  • organized listeners better using SRP principle in mind

@TurboMaxe TurboMaxe marked this pull request as draft April 19, 2026 04:54
@TurboMaxe TurboMaxe marked this pull request as ready for review April 19, 2026 04:54
Copy link
Copy Markdown
Contributor

@UplandJacob UplandJacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also use tabs on all new files you made? I'm trying to normalize using tabs on all of our things.

Looks good, though!

Comment thread src/main/java/tf/tuff/netty/BaseInjector.java Outdated
Comment thread src/main/java/tf/tuff/TuffX.java Outdated
Comment thread src/main/java/tf/tuff/tuffactions/TuffActions.java Outdated
Comment thread src/main/java/tf/tuff/tuffactions/creative/CreativeMenu.java Outdated
@TurboMaxe TurboMaxe marked this pull request as draft April 19, 2026 07:36
@TurboMaxe TurboMaxe marked this pull request as ready for review April 19, 2026 07:36
@TurboMaxe
Copy link
Copy Markdown
Author

I think I've fixed all(?) of the issues, please notify me if any issue arises

Copy link
Copy Markdown
Contributor

@UplandJacob UplandJacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, can you please use tabs on all new files and the on part in the base Netty injector?

ObjectMapper mapper = new ObjectMapper();

TypeReference<Map<String, String>> typeRef = new TypeReference<Map<String, String>>() {};
TypeReference<Map<String, String>> typeRef = new TypeReference<>() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere, you collapsed empty blocks into a single line. Why did you expand this one?

Comment thread .idea/.gitignore
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did these get added again? Did my gitignore not work or do you need to remove them from tracking?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread build.gradle.kts Outdated
Copy link
Copy Markdown
Contributor

@UplandJacob UplandJacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't merge this until the tab issues are resolved

Comment thread src/main/java/tf/tuff/tuffactions/restrictions/Restrictions.java
Comment thread src/main/java/tf/tuff/netty/BaseInjector.java
@TheRealMusawer
Copy link
Copy Markdown

turbo just add the tabs 🥀

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.

3 participants