Qodana #6
31 new problems found by Qodana Community for JVM
Qodana Community for JVM
31 new problems were found
Inspection name | Severity | Problems |
---|---|---|
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 4 |
@NotNull/@Nullable problems |
🔶 Warning | 3 |
Redundant 'if' statement |
🔶 Warning | 3 |
Deprecated API usage |
🔶 Warning | 2 |
Field can be local |
🔶 Warning | 2 |
Field may be 'final' |
🔶 Warning | 2 |
Mismatch between Javadoc and code |
🔶 Warning | 2 |
Non-final field in 'enum' |
🔶 Warning | 2 |
Unchecked warning |
🔶 Warning | 2 |
Constant values |
🔶 Warning | 1 |
Nullability and data flow problems |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Javadoc declaration problems |
🔶 Warning | 1 |
Redundant escape in regex replacement string |
🔶 Warning | 1 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 1 |
Call to 'set.removeAll(list)' may work slowly |
🔶 Warning | 1 |
Unnecessary modifier |
🔶 Warning | 1 |
Unnecessary semicolon |
🔶 Warning | 1 |
💡 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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 113 in src/main/java/de/cinovo/cloudconductor/server/model/EAuthToken.java
github-actions / Qodana Community for JVM
Constant values
Condition `o.revokeDate == null` is always `true` when reached
github-actions / Qodana Community for JVM
Nullability and data flow problems
Dereference of `dir.listFiles()` may produce `NullPointerException`
Check warning on line 62 in src/main/java/de/cinovo/cloudconductor/server/util/AWSClientFactory.java
github-actions / Qodana Community for JVM
Deprecated API usage
'createClient(java.lang.Class, com.amazonaws.auth.AWSCredentialsProvider, com.amazonaws.ClientConfiguration)' is deprecated
Check warning on line 45 in src/main/java/de/cinovo/cloudconductor/server/util/AWSClientFactory.java
github-actions / Qodana Community for JVM
Deprecated API usage
'createClient(java.lang.Class, com.amazonaws.auth.AWSCredentialsProvider, com.amazonaws.ClientConfiguration)' is deprecated
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Field can be local
Field can be converted to a local variable
github-actions / Qodana Community for JVM
Field can be local
Field can be converted to a local variable
Check warning on line 20 in src/main/java/de/cinovo/cloudconductor/server/model/enums/TagColor.java
github-actions / Qodana Community for JVM
Field may be 'final'
Field `css` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `configValueDAO` may be 'final'
github-actions / Qodana Community for JVM
Javadoc declaration problems
`@param repo` tag description is missing
Check warning on line 230 in src/main/java/de/cinovo/cloudconductor/server/model/EFile.java
github-actions / Qodana Community for JVM
Mismatch between Javadoc and code
Method is specified to return list but the return type is set
Check warning on line 48 in src/main/java/de/cinovo/cloudconductor/server/dao/IFileDAO.java
github-actions / Qodana Community for JVM
Mismatch between Javadoc and code
Method is specified to return list but the return type is number
Check warning on line 20 in src/main/java/de/cinovo/cloudconductor/server/model/enums/TagColor.java
github-actions / Qodana Community for JVM
Non-final field in 'enum'
Non-final field `css` in enum 'TagColor'
github-actions / Qodana Community for JVM
Non-final field in 'enum'
Non-final field `depStates` in enum 'RPMPrimaryState'
github-actions / Qodana Community for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @NonNullApi parameter
Check warning on line 54 in src/main/java/de/cinovo/cloudconductor/server/tasks/AbstractTrigger.java
github-actions / Qodana Community for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @NonNullApi parameter
Check warning on line 106 in src/main/java/de/cinovo/cloudconductor/server/model/EAuthToken.java
github-actions / Qodana Community for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @NotNull parameter
github-actions / Qodana Community for JVM
Redundant escape in regex replacement string
Redundant escape of '"'
github-actions / Qodana Community for JVM
'size() == 0' can be replaced with 'isEmpty()'
`name.length() != 0` can be replaced with '!name.isEmpty()'
github-actions / Qodana Community for JVM
Call to 'set.removeAll(list)' may work slowly
Call to 'set.removeAll(list)' may work slowly
github-actions / Qodana Community for JVM
String concatenation as argument to 'StringBuilder.append()' call
String concatenation as argument to `StringBuilder.append()` call
github-actions / Qodana Community for JVM
String concatenation as argument to 'StringBuilder.append()' call
String concatenation as argument to `StringBuilder.append()` call
github-actions / Qodana Community for JVM
String concatenation as argument to 'StringBuilder.append()' call
String concatenation as argument to `StringBuilder.append()` call
github-actions / Qodana Community for JVM
String concatenation as argument to 'StringBuilder.append()' call
String concatenation as argument to `StringBuilder.append()` call
Check warning on line 95 in src/main/java/de/cinovo/cloudconductor/server/model/EDependency.java
github-actions / Qodana Community for JVM
Redundant 'if' statement
`if` statement can be simplified