Skip to content

add AutoLock class #303

add AutoLock class

add AutoLock class #303

GitHub Actions / Qodana Community for JVM completed Jan 13, 2025 in 0s

59 new problems found by Qodana Community for JVM

Qodana Community for JVM

59 new problems were found

Inspection name Severity Problems
Nullability and data flow problems 🔶 Warning 28
Constant values 🔶 Warning 8
Unstable API Usage 🔶 Warning 7
Statement with empty body 🔶 Warning 3
Mismatched query and update of collection 🔶 Warning 3
'equals()' between objects of inconvertible types 🔶 Warning 1
Suspicious collection method call 🔶 Warning 1
Constant values ◽️ Notice 8

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `yMax` is always 'null'

Check warning on line 157 in utility-fx-controls/src/main/java/com/dua3/utility/fx/controls/ComboBoxEx.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `item != null` is always `true`

Check notice on line 133 in utility-fx-db/src/main/java/com/dua3/utility/fx/db/FxDbUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `x` is always 'null'

Check warning on line 76 in utility/src/main/java/com/dua3/utility/data/Cache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `item != null` is always `true`

Check warning on line 205 in utility-fx/src/main/java/com/dua3/utility/fx/FxRefresh.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `n == null` is always `false`

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `yMin` is always 'null'

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `xMax` is always 'null'

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `xMin` is always 'null'

Check warning on line 47 in utility/src/main/java/com/dua3/utility/text/FontData.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `fontDef != null` is always `true`

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `yMin` is always 'null'

Check warning on line 255 in utility-fx/src/main/java/com/dua3/utility/fx/FxLogPane.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `newSelection == null` is always `false`

Check notice on line 148 in utility-fx-controls/src/main/java/com/dua3/utility/fx/controls/Decoration.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `sceneRoot` is always 'null'

Check warning on line 167 in utility-swing/src/main/java/com/dua3/utility/swing/ComboBoxEx.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `item != null` is always `true`

Check warning on line 160 in utility-fx-controls/src/main/java/com/dua3/utility/fx/controls/FileInput.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `p != null` is always `true`

Check notice on line 476 in utility-fx/src/main/java/com/dua3/utility/fx/FxUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `xMin` is always 'null'

Check warning on line 198 in utility-fx/src/main/java/com/dua3/utility/fx/FxRefresh.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Condition `n == null` is always `false`

Check warning on line 65 in utility/src/main/java/com/dua3/utility/io/SoftResource.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Expression `ref.get()` might evaluate to null but is assigned to a variable that is annotated with @NotNull

Check warning on line 209 in utility-fx-controls/src/main/java/com/dua3/utility/fx/controls/InputGridBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

`null` is returned by the method declared as @NullMarked

Check warning on line 169 in utility-fx-controls/src/main/java/com/dua3/utility/fx/controls/WizardDialog.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Dereference of `current.second()` may produce `NullPointerException`

Check warning on line 217 in utility/src/main/java/com/dua3/utility/data/DataUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Casting `value` to `Path` may produce `ClassCastException`

Check warning on line 39 in utility/src/main/java/com/dua3/utility/options/StandardOption.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Expression `DataUtil.convert(s, type)` might evaluate to null but is returned by the method declared as @NullMarked

Check warning on line 116 in utility-samples/utility-samples-fx/src/main/java/com/dua3/utility/samples/fx/DialogSample.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Result of 'requireNonNullElse' is the same as the first argument making the call meaningless

Check warning on line 144 in utility-logging-slf4j/src/main/java/com/dua3/utility/logging/slf4j/LoggerFactorySlf4j.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Argument `p.first()` might be null

Check warning on line 73 in utility/src/main/java/com/dua3/utility/data/Cache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Expression `weak == null ? null : weak.get()` might evaluate to null but is assigned to a variable that is annotated with @NotNull

Check warning on line 153 in utility/src/main/java/com/dua3/utility/text/FontData.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

`null` is assigned to a variable that is annotated with @NotNull