-
-
Notifications
You must be signed in to change notification settings - Fork 711
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
Fix some warnings #4259
base: master
Are you sure you want to change the base?
Fix some warnings #4259
Conversation
https://stackoverflow.com/a/44599965 > Instead of WordUtils class use StringUtils from the same package, so you don't have to change your project configuration by adding extra jars.
To be brief:
|
Yeah I just kinda added the null warnings and I was gonna see what's actually necesary.
The only one that I used |
There's a few unused fields that are keybinds, what's up with that? |
If you're referring to the HUD keybind, it is actually used, but in a hacky way. |
Co-Authored-By: Big Iron <52252627+Big-Iron-Cheems@users.noreply.github.com>
This partly reverts commit 2fcaed3.
Type of change
Description
Just going through the warnings, fixing as much as I can.
Related issues
Mention any issues that this pr relates to.
How Has This Been Tested?
Videos or screenshots of the changes if applicable.
Checklist:
Progress
Deprecated
URL
constructor -> 665044d: replace withnew URI(url).toURL()
lang3-WordUtils
-> 77de6c6: useStringUtils
insteadblocksMovement
-> 28589b9: re-implement without using deprecatedisSolid()
NativeImage.makePixelArray()
: haven't found any info on alternatives and idk what it does.Unchecked
getArgument()
a9822ab: suppress the same warnings as method signaturemeteor-client/src/main/java/meteordevelopment/meteorclient/gui/DefaultSettingsWidgetFactory.java
Line 47 in 8ce8d30
meteor-client/src/main/java/meteordevelopment/meteorclient/gui/GuiTheme.java
Line 121 in ba1cd6e
meteor-client/src/main/java/meteordevelopment/meteorclient/gui/renderer/GuiRenderOperation.java
Line 23 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/BlockDataSettingScreen.java
Line 61 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/BlockDataSettingScreen.java
Line 71 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/BlockDataSettingScreen.java
Line 79 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/EnumSetting.java
Line 24 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 178 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 183 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 188 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 193 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 198 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Setting.java
Line 203 in daf6d3f
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Settings.java
Line 85 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Settings.java
Line 88 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Settings.java
Line 98 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/settings/Settings.java
Line 101 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/systems/accounts/Account.java
Line 111 in 1ceea3e
meteor-client/src/main/java/meteordevelopment/meteorclient/systems/modules/player/AutoEat.java
Line 32 in 6576056
meteor-client/src/main/java/meteordevelopment/meteorclient/systems/modules/player/AutoGap.java
Line 37 in 6576056
meteor-client/src/main/java/meteordevelopment/meteorclient/utils/misc/UnorderedArrayList.java
Line 22 in d284194
meteor-client/src/main/java/meteordevelopment/meteorclient/utils/render/WireframeEntityRenderer.java
Line 62 in b0d1686
Resource Leak
BeaconScreenMixin
getInstance()
-> 1ae70cd: declare variableBlockCollisionSpliteratorMixin
getInstance()
-> 1ae70cd: declare variableBlockItemMixin
getWorld()
-> 1ae70cd: declare variablePlayerEntityMixin:56
getWorld()
-> 1ae70cd: declare variablePlayerEntityMixin:63
getWorld()
-> 1ae70cd: declare variablePlayerEntityMixin:84
getWorld()
-> 1ae70cd: declare variablePlayerEntityMixin:92
getWorld()
-> 1ae70cd: declare variablePlayerEntityMixin:107
getWorld()
-> 1ae70cd: declare variableChunkAwareBlockCollisionSweeperMixin
getInstances()
-> 1ae70cd: declare variableUtils
readBytes()
-> 1ae70cd: close streamUnused Import
BaritoneUtils
BaritoneAPI
FlowableFluid
MatrixStack
Perspective
TextRenderer
BufferBuilder
VertexConsumerProvider
RenderUtils
Rotation
TextRenderer
BufferBuilder
VertexConsumerProvider
AbstractTeam
AuthenticationException
Unused Variable/Field
EasyMCAccount.AuthResponse.message
should remain, for completenessHud.keybind
* -> 1448187local var item
-> 2fcaed3Blink.cancelBlink
* -> 1448187ElytraBoost.keybind
* -> 1448187LightOverlay.bp
-> c2231b3: suppressCuboidMarker.mode
-> 1448187Sphere2dMarker.nextLayerKey
-> 1448187Sphere2dMarker.prevLayerKey
-> 1448187local var layer
-> 2fcaed3* Used, but in a hacky way