Fix potential error when there is zero stock #79
Annotations
12 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/Dependencies.java#L113
Method invocation `getDescription` may produce `NullPointerException`
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/Containers/AdminInventory.java#L229
`null` is returned by the method declared as @NotNull
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java#L171
Deprecated member 'getAccountFromShortName' is still used
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java#L42
Field `accounts` is accessed in both synchronized and unsynchronized contexts
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java#L46
Field `shortToAccount` is accessed in both synchronized and unsynchronized contexts
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java#L44
Field `usernameToAccount` is accessed in both synchronized and unsynchronized contexts
|
Qodana Scan:
src/main/java/com/Acrobot/ChestShop/ChestShop.java#L124
Non-constant logger field `shopLogger`
|
Qodana Scan:
src/main/java/com/Acrobot/Breeze/Utils/Encoding/Base64.java#L1329
Variable `encodedData` initializer `null` is redundant
|
Qodana Scan:
src/main/java/com/Acrobot/Breeze/Utils/Encoding/Base64.java#L1334
Variable `numBytes` initializer `0` is redundant
|
Qodana Scan:
src/main/java/com/Acrobot/Breeze/Utils/Encoding/Base64.java#L975
Variable `decoded` initializer `null` is redundant
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "qodana-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading