Skip to content

Qodana

Qodana #6

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana Community for JVM completed Aug 10, 2023 in 0s

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]

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

See this annotation in the file changed.

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

Constant values

Condition `o.revokeDate == null` is always `true` when reached

Check warning on line 52 in src/main/java/de/cinovo/cloudconductor/server/repo/provider/FileProvider.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 82 in src/main/java/de/cinovo/cloudconductor/server/repo/provider/AWSS3Provider.java

See this annotation in the file changed.

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

Statement with empty body

`if` statement has empty body

Check warning on line 26 in src/main/java/de/cinovo/cloudconductor/server/handler/GlobalConfigMigrator.java

See this annotation in the file changed.

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

Field can be local

Field can be converted to a local variable

Check warning on line 52 in src/main/java/de/cinovo/cloudconductor/server/util/JMXResourceProvider.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Field may be 'final'

Field `css` may be 'final'

Check warning on line 31 in src/main/java/de/cinovo/cloudconductor/server/handler/ConfigValueHandler.java

See this annotation in the file changed.

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

Field may be 'final'

Field `configValueDAO` may be 'final'

Check warning on line 18 in src/main/java/de/cinovo/cloudconductor/server/repo/importer/IPackageImport.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Non-final field in 'enum'

Non-final field `css` in enum 'TagColor'

Check warning on line 89 in src/main/java/de/cinovo/cloudconductor/server/repo/indexer/RPMIndexer.java

See this annotation in the file changed.

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

Non-final field in 'enum'

Non-final field `depStates` in enum 'RPMPrimaryState'

Check warning on line 137 in src/main/java/de/cinovo/cloudconductor/server/tasks/ServerTaskHelper.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

@NotNull/@Nullable problems

Not annotated parameter overrides @NotNull parameter

Check warning on line 64 in src/main/java/de/cinovo/cloudconductor/server/rest/utils/JavaArgsWriter.java

See this annotation in the file changed.

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

Redundant escape in regex replacement string

Redundant escape of '"'

Check warning on line 144 in src/main/java/de/cinovo/cloudconductor/server/util/GenericModelApiConverter.java

See this annotation in the file changed.

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

'size() == 0' can be replaced with 'isEmpty()'

`name.length() != 0` can be replaced with '!name.isEmpty()'

Check warning on line 110 in src/main/java/de/cinovo/cloudconductor/server/handler/PackageStateChangeHandler.java

See this annotation in the file changed.

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

Call to 'set.removeAll(list)' may work slowly

Call to 'set.removeAll(list)' may work slowly

Check warning on line 28 in src/main/java/de/cinovo/cloudconductor/server/rest/utils/PaginationUtils.java

See this annotation in the file changed.

@github-actions 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 33 in src/main/java/de/cinovo/cloudconductor/server/rest/utils/PaginationUtils.java

See this annotation in the file changed.

@github-actions 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 29 in src/main/java/de/cinovo/cloudconductor/server/rest/utils/PaginationUtils.java

See this annotation in the file changed.

@github-actions 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 30 in src/main/java/de/cinovo/cloudconductor/server/rest/utils/PaginationUtils.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Redundant 'if' statement

`if` statement can be simplified