Skip to content

Fix spotless issues #4

Fix spotless issues

Fix spotless issues #4

Triggered via push December 2, 2024 15:40
Status Failure
Total duration 6m 28s
Artifacts 1

sonar-qube.yml

on: push
Run SonarQube Analysis
6m 17s
Run SonarQube Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
java:S1874: DataGenerator/src/main/java/org/opensearch/migrations/data/IFieldCreator.java#L13
Remove this use of "put"; it is deprecated.
java:S1124: DocumentsFromSnapshotMigration/src/main/java/org/opensearch/migrations/RfsMigrateDocuments.java#L185
Reorder the modifiers to comply with the Java Language Specification.
java:S1192: RFS/src/main/java/org/opensearch/migrations/bulkload/common/LuceneDocumentsReader.java#L131
Define a constant instead of duplicating this literal "Found non-SegmentReader of type {} in the DirectoryReader" 4 times.
java:S1172: RFS/src/main/java/org/opensearch/migrations/bulkload/common/LuceneDocumentsReader.java#L161
Remove this unused method parameter "startDocId".
java:S1481: RFS/src/main/java/org/opensearch/migrations/bulkload/common/LuceneDocumentsReader.java#L186
Remove this unused "segmentIndex" local variable.
java:S1854: RFS/src/main/java/org/opensearch/migrations/bulkload/common/LuceneDocumentsReader.java#L186
Remove this useless assignment to local variable "segmentIndex".
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "sonar-reports". 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/

Artifacts

Produced during runtime
Name Size
sonar-reports
91.5 KB